cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
J_anitha
Level 8

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?
Labels (1)
0 Kudos

(2) Replies
ElenaN
Level 6

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
0 Kudos
sandeep_madhu14
Level 6

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...
0 Kudos