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 -132 on major upgrade
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
Jan 08, 2009
06:49 AM
Error -132 on major upgrade
Hello All,
I am doing an major upgrade from version A to version B in IS 7.
Now during upgrade , version b tries to uninstall version A for custom action RemoveExisintgProducts.
On uninstall, it runs uninstallation script for version A. Here it fails for function
if (FeatureSetData(MEDIA,"ToCheckWin2003",FEATURE_FIELD_SELECTED,TRUE,szData) < 0 ) then
MessageBox("Error in Deselecting feature", INFORMATION);
endif;
The function FeatureSetData fails with error -132.
This function fails only on upgrade and not when i uninstall application through Add/Remove program
Can anyone let me know what can be reason ?
Thanks,
Amit
I am doing an major upgrade from version A to version B in IS 7.
Now during upgrade , version b tries to uninstall version A for custom action RemoveExisintgProducts.
On uninstall, it runs uninstallation script for version A. Here it fails for function
if (FeatureSetData(MEDIA,"ToCheckWin2003",FEATURE_FIELD_SELECTED,TRUE,szData) < 0 ) then
MessageBox("Error in Deselecting feature", INFORMATION);
endif;
The function FeatureSetData fails with error -132.
This function fails only on upgrade and not when i uninstall application through Add/Remove program
Can anyone let me know what can be reason ?
Thanks,
Amit
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 30, 2009
01:38 AM
The SetFeatureData returns error -132 in ONBEGIN event of an old msi on upgrade.
The value of MEDIA is "DATA" in old msi which is correct.
Now my question is Why the MEDIA of old version is not found during upgrade ??
Is there any solution ?? It is very important for us.
This is a IS bug. But is there any workaround ?
Note : As i can not change the OLD script , I will need a solution where i can change the setting in New MSI version.
--------------
Is there any way i can change in INX file of old installation and remove this MessageBox ??
The value of MEDIA is "DATA" in old msi which is correct.
Now my question is Why the MEDIA of old version is not found during upgrade ??
Is there any solution ?? It is very important for us.
This is a IS bug. But is there any workaround ?
Note : As i can not change the OLD script , I will need a solution where i can change the setting in New MSI version.
--------------
Is there any way i can change in INX file of old installation and remove this MessageBox ??