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
- :
- Issue during Uninstallation from ARP
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2012
08:11 AM
Issue during Uninstallation from ARP
Hello All,
I'm new to Installshield.
For our product we have created basic MSI installer using InstallShield 2012.
and for starting the installation we use setup.exe (custom bootstrap program with manifest having elevated privilege)
We are able to install the product using a domain admin user having local admin privilege. But facing issues while uninstalling the product from ARP. During uninstallation installer is rolling back.
Uninstall works fine when we remove the product by running setup.exe.
Below is the log file snippet
--------------------
I) Uninstallation log showing error when product uninstalled from ARP:
MSI (s) (74:BC) [02:06:41:027]: Executing op: ServiceControl(,,Action=1,Wait=0,)
StartServices: Service:
Info 1920.Service () failed to start. Verify that you have sufficient privileges to start system services.
Action ended 2:07:11: InstallFinalize. Return value 3.
--------------------
II) Uninstallation log when the product is uninstalled by running setup.exe
Action 5:17:34: InstallFiles. Copying new files
Action 5:17:34: StartServices. Starting services
StartServices: Service: SQL Server (SQLEXPRESS)
Action 5:17:34: PublishProduct. Publishing product information
Action 5:17:34: InstallFinalize.
Action 5:17:38: RollbackCleanup. Removing backup files
--------------------
Can any one help me to understand why the installer is not getting service name when product is removed using ARP.
Also let me know the better solution for handling elevated privilege for uninstallation.
Regards,
shivasdp
I'm new to Installshield.
For our product we have created basic MSI installer using InstallShield 2012.
and for starting the installation we use setup.exe (custom bootstrap program with manifest having elevated privilege)
We are able to install the product using a domain admin user having local admin privilege. But facing issues while uninstalling the product from ARP. During uninstallation installer is rolling back.
Uninstall works fine when we remove the product by running setup.exe.
Below is the log file snippet
--------------------
I) Uninstallation log showing error when product uninstalled from ARP:
MSI (s) (74:BC) [02:06:41:027]: Executing op: ServiceControl(,,Action=1,Wait=0,)
StartServices: Service:
Info 1920.Service () failed to start. Verify that you have sufficient privileges to start system services.
Action ended 2:07:11: InstallFinalize. Return value 3.
--------------------
II) Uninstallation log when the product is uninstalled by running setup.exe
Action 5:17:34: InstallFiles. Copying new files
Action 5:17:34: StartServices. Starting services
StartServices: Service: SQL Server (SQLEXPRESS)
Action 5:17:34: PublishProduct. Publishing product information
Action 5:17:34: InstallFinalize.
Action 5:17:38: RollbackCleanup. Removing backup files
--------------------
Can any one help me to understand why the installer is not getting service name when product is removed using ARP.
Also let me know the better solution for handling elevated privilege for uninstallation.
Regards,
shivasdp
3 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2012
06:02 AM
Are you starting a service on uninstall?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2012
08:47 AM
When you start the software removal via the setup.exe, the installation goes through the user sequence and then through the execute sequence. When you start the removal with ARP the setup goes directly to the execute sequence. So I would check the user sequence, if something happens there which should also be done in the execute sequence.
Barbara
Barbara
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2012
07:30 AM
Thanks Barbara & Cygnusx1 for your inputs.
Issue is now resolved. During UI sequence one install property "SQLINSTANCENAME" was getting set and it was being used for starting the service during uninstallation.
Now moved the SQLINSTANCENAME property to get set in execute sequence and now uninstallation is working fine from ARP.
🙂
Regards,
shivasdp
Issue is now resolved. During UI sequence one install property "SQLINSTANCENAME" was getting set and it was being used for starting the service during uninstallation.
Now moved the SQLINSTANCENAME property to get set in execute sequence and now uninstallation is working fine from ARP.
🙂
Regards,
shivasdp
