This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- [Windows 7] Error 1721 if MSI is launched instead of setup.exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Feb 25, 2010
02:20 AM
[Windows 7] Error 1721 if MSI is launched instead of setup.exe
Hello,
We're currently testing our new installer on serveral systems.
Everything works fine, there's just one problem on Win7:
I've added a custom deferred action which installs a service on installation time and removes it on uninstall. Works great - but only if I'm launching the setup.exe directly. Setup.exe asks for admin rights (UAC message) and everything works. If I launch the MSI package, it starts and but asks for admin rights just right before the actual file processing takes place. After this it throws an error 1721 for my action "LicenseService_Install".
My actions are sequenced like this:
LicenseService_Install - Install Exec; Seq. after RegisterComPlus; Condition "Not Installed"
LicenseService_Uninstall - Install Exec; Seq. after StopServices; Condition REMOVE~="ALL"
Both are configured for
Return processing: Sychronous (Check Exit Code) and
In-Script Execution: Deferred Execution
The used .exe file to install the service has a "require Administrator" Vista/7 Manifest embeded. Maybe this is the problem?
I'm using IS 2010 Premier and an Basic MSI Project.
Thanks for any hints!
- Manuel
We're currently testing our new installer on serveral systems.
Everything works fine, there's just one problem on Win7:
I've added a custom deferred action which installs a service on installation time and removes it on uninstall. Works great - but only if I'm launching the setup.exe directly. Setup.exe asks for admin rights (UAC message) and everything works. If I launch the MSI package, it starts and but asks for admin rights just right before the actual file processing takes place. After this it throws an error 1721 for my action "LicenseService_Install".
My actions are sequenced like this:
LicenseService_Install - Install Exec; Seq. after RegisterComPlus; Condition "Not Installed"
LicenseService_Uninstall - Install Exec; Seq. after StopServices; Condition REMOVE~="ALL"
Both are configured for
Return processing: Sychronous (Check Exit Code) and
In-Script Execution: Deferred Execution
The used .exe file to install the service has a "require Administrator" Vista/7 Manifest embeded. Maybe this is the problem?
I'm using IS 2010 Premier and an Basic MSI Project.
Thanks for any hints!
- Manuel
(2) Replies
‎Feb 26, 2010
03:56 AM
USe In-Script Execution: Deferred Execution in System Context.
In System Context the custome action will run with system account.
In System Context the custome action will run with system account.