Full story:
- - Using AI 7.1.3
- "Installation Type" set to "Per-machine only (fails is user is not administrator)"
- The installer has a Custom Action to launch an executable after installation completes ("Installed Custom Action").
Running the installer on Vista, using a NON-admin account (meaning I get prompted to provide admin credentials at the start of the install process), I run into this problem: when the executable gets launched, it's using the SYSTEM account instead of the account of the currently-logged-in user.If the installation will run on Windows Vista the custom action should be moved under "InstallExecuteSequence" -> "PublishProduct". Also, it should be set as "Deferred with no impersonation".
If I set to "Deffered" instead, it ends up using the administrator account, which is better in some ways, worse in others.
Moving the Custom Action under InstallFinalize doesn't help; I get no "no impersonation" option, admin account gets used. Same if I instead use the ExitDialog's "Launch Application" feature.
Did I miss a magic option? Is this a limitation of Advanced Installer?
--
LPG
http://www.macadamian.com/
FOLLOW US
Get the latest news in Application Packaging