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
- :
- *.isu file missing
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
Jul 29, 2011
10:45 AM
*.isu file missing
Hi,
I'm using install shield 2011 and created a setup. Everything is working fine, but the uninstall.isu file is missing. Because of this, when we install the same software again, the exiting files are not getting overridden and we still see the same old files in the installed path:
Program used:
function ProcessBeforeDataMove()
STRING svLogFile,szKey;
NUMBER nResult;
begin
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
svLogFile = UNINST_LOGFILE_NAME;
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
if (nResult < 0) then
MessageBox( @ERROR_UNINSTSETUP, WARNING );
endif;
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
if ((bIs32BitSetup) && (bIsShellExplorer)) then
RegDBSetItem( REGDB_APPPATH, szAppPath );
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
endif;
return 0;
end;
Return values is also "0" from deinstall function, but the isu file is not created.
We created the setup in windows 7.
Can you please help us on this?
Thank you,
Jyoti
I'm using install shield 2011 and created a setup. Everything is working fine, but the uninstall.isu file is missing. Because of this, when we install the same software again, the exiting files are not getting overridden and we still see the same old files in the installed path:
Program used:
function ProcessBeforeDataMove()
STRING svLogFile,szKey;
NUMBER nResult;
begin
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
svLogFile = UNINST_LOGFILE_NAME;
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
if (nResult < 0) then
MessageBox( @ERROR_UNINSTSETUP, WARNING );
endif;
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
if ((bIs32BitSetup) && (bIsShellExplorer)) then
RegDBSetItem( REGDB_APPPATH, szAppPath );
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
endif;
return 0;
end;
Return values is also "0" from deinstall function, but the isu file is not created.
We created the setup in windows 7.
Can you please help us on this?
Thank you,
Jyoti
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 01, 2011
12:43 PM
jothy1611 wrote:
Hi,
I'm using install shield 2011 and created a setup. Everything is working fine, but the uninstall.isu file is missing. Because of this, when we install the same software again, the exiting files are not getting overridden and we still see the same old files in the installed path:
Program used:
function ProcessBeforeDataMove()
STRING svLogFile,szKey;
NUMBER nResult;
begin
InstallationInfo( @COMPANY_NAME, @PRODUCT_NAME, @PRODUCT_VERSION, @PRODUCT_KEY );
svLogFile = UNINST_LOGFILE_NAME;
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
if (nResult < 0) then
MessageBox( @ERROR_UNINSTSETUP, WARNING );
endif;
szAppPath = TARGETDIR; // TODO : if your application .exe is in a subdir of TARGETDIR then add subdir
if ((bIs32BitSetup) && (bIsShellExplorer)) then
RegDBSetItem( REGDB_APPPATH, szAppPath );
RegDBSetItem( REGDB_APPPATH_DEFAULT, szAppPath ^ @PRODUCT_KEY );
RegDBSetItem( REGDB_UNINSTALL_NAME, @UNINST_DISPLAY_NAME );
endif;
return 0;
end;
Return values is also "0" from deinstall function, but the isu file is not created.
We created the setup in windows 7.
Can you please help us on this?
Thank you,
Jyoti
Can anyone knows, is there any problem with the functions I used or Installshield 2011 doesn't support the finction deinstallstart to create the isu file?
Jyoti