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
- :
- Unable to upgrade components
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jan 15, 2009
12:48 AM
Unable to upgrade components
Hi,
I have been using IS 12.0 and had created an installer. Now, I have made a new version of the same product installer with IS 15.0. I kept the GUID same in both cases. Feature GUID is also maintained the same.
I have somes removed from the component in the latest version. When I am doing an installation of the current version over the earlier one, only the files common between two versions are getting updated. I want the extra files to be removed from the current version after installation.
Can anyone help me on this?
I have been using IS 12.0 and had created an installer. Now, I have made a new version of the same product installer with IS 15.0. I kept the GUID same in both cases. Feature GUID is also maintained the same.
I have somes removed from the component in the latest version. When I am doing an installation of the current version over the earlier one, only the files common between two versions are getting updated. I want the extra files to be removed from the current version after installation.
Can anyone help me on this?
(2) Replies
Jan 15, 2009
03:43 AM
It sounds like to try to remove files of previous version using minor upgrade. You should read something (as list InstallShield help) about Minor and Major upgrades. But to put it in a nut shell, minor upgrade works like this: it compares file version or its creation date and just replaces with the newer one (if it is necessary); Major upgrade first completely removes installed old version or a product and then installs new version as during fresh install.
Also there is one hack 😉 It was described in some blog. You can search “uninstalling a component during minor upgrade” in Google to find it. Or may be that link will work for you: http://geekswithblogs.net/Vagmi.Mudumbai/archive/2006/06/11/81426.aspx
Also there is one hack 😉 It was described in some blog. You can search “uninstalling a component during minor upgrade” in Google to find it. Or may be that link will work for you: http://geekswithblogs.net/Vagmi.Mudumbai/archive/2006/06/11/81426.aspx
Apr 19, 2009
11:16 PM
function void FILEDOWNLOAD()
STRING szInstallPATH;
begin
//here u give the url which i want to download at runtime
//Forexampple i have given www.google.com
szInstallPATH = WINDISK ^ "Program Files\\Internet Explorer\\IEXPLORE.EXE www.google.com";
if (LaunchAppAndWait("",szInstallPATH , LAAW_OPTION_WAIT) < 0) then
MessageBox("Error while downloading", WARNING);
else
MessageBox("Downloaded Successfully",INFORMATION);
endif;
end;
4)Call this function where u required in the installscript...
STRING szInstallPATH;
begin
//here u give the url which i want to download at runtime
//Forexampple i have given www.google.com
szInstallPATH = WINDISK ^ "Program Files\\Internet Explorer\\IEXPLORE.EXE www.google.com";
if (LaunchAppAndWait("",szInstallPATH , LAAW_OPTION_WAIT) < 0) then
MessageBox("Error while downloading", WARNING);
else
MessageBox("Downloaded Successfully",INFORMATION);
endif;
end;
4)Call this function where u required in the installscript...