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
- :
- Uninstall issue while migrating IS-5.X code to IS2011
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Aug 08, 2011
07:49 AM
Uninstall issue while migrating IS-5.X code to IS2011
We are migrating our code form IS-5.X to IS2011
Our IS-5.X code will create one uninstall log file called “uninst.isu” for uninstall logs.
And the uninstall icon will be placed under
“start > programfiles > OurApp > ourApp Uninstall” (refer to program files and our appdir)
When we click "ourApp uninstall" our application will get uninstall.
After up-gradation to IS2011 the uninstall.isu is not getting created, so we are unable to uninstall our application through start menu (can be able to do it form "Add or Remove programs".
Can somebody help me how do we can create uninstall log file with custom name and copy to custom path In IS2011. or any other solution ?
The existing code snippet as follows:
svLogFile = unInstall.isu;
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
RegDBSetItem( REGDB_APPPATH, szAppPath );
--------------------------------------------------------------------------
Code to generate icon under start (refer to program files and our appdir)
AddFolderIcon(FOLDER_PROGRAMS ^ "\\ourApp", "OurApp Uninstall", "\"" + WINDIR ^ "\\IsUninst.exe\" -f\"" +TARGETDIR ^ "\\Uninst.isu\" -c\"" + TARGETDIR ^ "ExUnInst.dll" + "\"", TARGETDIR, "", 0, "", REPLACE);
Thanks in advance,
Phani
Our IS-5.X code will create one uninstall log file called “uninst.isu” for uninstall logs.
And the uninstall icon will be placed under
“start > programfiles > OurApp > ourApp Uninstall” (refer to program files and our appdir)
When we click "ourApp uninstall" our application will get uninstall.
After up-gradation to IS2011 the uninstall.isu is not getting created, so we are unable to uninstall our application through start menu (can be able to do it form "Add or Remove programs".
Can somebody help me how do we can create uninstall log file with custom name and copy to custom path In IS2011. or any other solution ?
The existing code snippet as follows:
svLogFile = unInstall.isu;
nResult = DeinstallStart( svDir, svLogFile, @UNINST_KEY, 0 );
RegDBSetItem( REGDB_APPPATH, szAppPath );
--------------------------------------------------------------------------
Code to generate icon under start (refer to program files and our appdir)
AddFolderIcon(FOLDER_PROGRAMS ^ "\\ourApp", "OurApp Uninstall", "\"" + WINDIR ^ "\\IsUninst.exe\" -f\"" +TARGETDIR ^ "\\Uninst.isu\" -c\"" + TARGETDIR ^ "ExUnInst.dll" + "\"", TARGETDIR, "", 0, "", REPLACE);
Thanks in advance,
Phani
(1) Reply
Aug 08, 2011
11:04 AM
Please see the InstallShield help topic "Creating Uninstallation Shortcuts for InstallScript and InstallScript MSI Projects".