How do I create an installer for users without administrative privileges?
To install printers, the installer needs administrative privileges. This can be done using the runas command. runas /user:Admin pdfMachine.exe Then enter the Admin users password. (runas does not allow the password to be specified as a command line parameter – see below for further information) Unfortunately, the standard pdfMachine.exe generates an error because it starts a background process running as the Admin user. To prevent this, you need to set installerStartBgProcess=0 in the bgsconf.ini file. bgsmsnd.exe must be running (as the user) for the user to successfully print to pdfMachine. When the runas command completes, you should then run the bgsmsnd.exe as the normal user.