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
- :
- Error during maintenance uninstallation.
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
Oct 17, 2016
08:56 AM
Error during maintenance uninstallation.
Hello All,
Recently I converted a Installscript project, which was earlier built using developer 7.02, to installshield 2015. And the product,package and upgrade codes remains same.
Problem is that I installed the product using setup.exe, which was built from Developer 7.02.
Now, if I uninstall that using setup.exe built from Installshield 2015(i.e.,maintenance uninstallation), following error occurs:
1) GetInstallDriver, Can not find InstallDriver in ROT table, Return Code = 0x800401e3
2) ISMsiServerStartup Failure, Failed to RegisterMsiServer, Error = 0x80004004
3) MsiServerStartup failed. Abort installation..CustomAction ISMsiServerStartup returned actual error code 1603 but will be translated to success due to continue marking.
Uninstallation aborts by displaying error "1603".
Does error occurs for the reason that "MAINTENANCE"(should I have to change this property to "_IsMaintenance"?) property is not set to true?If not, what might be the possible reasons for the above error?
Kindly help me out.
Thanks.
Recently I converted a Installscript project, which was earlier built using developer 7.02, to installshield 2015. And the product,package and upgrade codes remains same.
Problem is that I installed the product using setup.exe, which was built from Developer 7.02.
Now, if I uninstall that using setup.exe built from Installshield 2015(i.e.,maintenance uninstallation), following error occurs:
1) GetInstallDriver, Can not find InstallDriver in ROT table, Return Code = 0x800401e3
2) ISMsiServerStartup Failure, Failed to RegisterMsiServer, Error = 0x80004004
3) MsiServerStartup failed. Abort installation..CustomAction ISMsiServerStartup returned actual error code 1603 but will be translated to success due to continue marking.
Uninstallation aborts by displaying error "1603".
Does error occurs for the reason that "MAINTENANCE"(should I have to change this property to "_IsMaintenance"?) property is not set to true?If not, what might be the possible reasons for the above error?
Kindly help me out.
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 08, 2016
03:14 AM
Hello All,
I found the root cause for the uninstallation issue in my case.
The reason is 'OnBegin' event is triggered twice during maintenance uninstallation.
Firstly it will be called by script code of upgraded build.And here if( MAINTENANCE ) code part is executed as expected.
Again, 'OnBegin' will be called by script code of already existing build where if( ! MAINTENANCE ) code is executed, which is causing problem in my case.Because, in
if( ! MAINTENANCE ), I'm checking for a registry entry and if it exists, I'm aborting the installation process.
So can anyone tell me why 'OnBegin' of already existing build's script code is called second time and how to avoid this?.If it is avoided then the problem will be solved.
Thanks.
I found the root cause for the uninstallation issue in my case.
The reason is 'OnBegin' event is triggered twice during maintenance uninstallation.
Firstly it will be called by script code of upgraded build.And here if( MAINTENANCE ) code part is executed as expected.
Again, 'OnBegin' will be called by script code of already existing build where if( ! MAINTENANCE ) code is executed, which is causing problem in my case.Because, in
if( ! MAINTENANCE ), I'm checking for a registry entry and if it exists, I'm aborting the installation process.
So can anyone tell me why 'OnBegin' of already existing build's script code is called second time and how to avoid this?.If it is avoided then the problem will be solved.
Thanks.