Basic Msi minor update is not copying files
Posted 21 September 2011 - 17:33
I am using Installshield 2010 with a Basic MSI project.
We have product and the requirement is to build different packages starting from a small upate and minor updates and provide updates to customers.
I have created a patch with version 310.24.1 by drag and drop the folders on to the target folder structure and deployed on to the target system where version 310.19 of the application is already avaliable , and setup does copied the files to the target system.
I reuse the same project and deleted the folders from the previous patch and built a minor update by changing the version to 310.28.5, this time setup exexuted sucesfuuly, but not copied the latest files.
I have the below properties that I set to override the files on the Target system every time
Also tried inserting a standard action RemoveExistingProdcuts InistallValidate and Installfinalize.
None of these options helped to override the files second time.
Windows installer logs are attached fro your referenece.
Posted 21 September 2011 - 17:56
I don't fully understand what you're doing, but if you delete and re-create components then you break the minor update rules.
Posted 21 September 2011 - 17:59
Posted 21 September 2011 - 18:04
MSI © (E4:90) [19:17:15:005]: SELMGR: Removal of a component from a feature is not supported.
for the second update that I am trying to install has addtional parameters in the Commandline of windows installer log
MSI © (6C:78) [18:23:48:333]: Command Line: SETUPEXEDIR=W:\AutoInstalls\09202011\310.24.1 SETUPEXENAME=setup.exe CURRENTDIRECTORY=W:\AutoInstalls\09202011\310.24.1 CLIENTUILEVEL=0 CLIENTPROCESSID=4460
MSI © (E4:90) [19:17:00:692]: Command Line: REINSTALL=ALL REINSTALLMODE=vomus IS_MINOR_UPGRADE=1 SETUPEXEDIR=W:\AutoInstalls\09192011\310.28.5 SETUPEXENAME=setup.exe CURRENTDIRECTORY=W:\AutoInstalls\09192011\310.28.5 CLIENTUILEVEL=0 CLIENTPROCESSID=4836
Posted 21 September 2011 - 18:38
Is there a way to reuse the same Basic Msi install shield project and delete and load the files based on the each patch.
Because we have several sub folders under a Web folder, if we manually copy the files every time for each sub folder by not deleting the components associated, it's going to take lot of time and error prone too.
could please suggest an alternate to drag and droping the files for a smallupdate and minor update.
Posted 21 September 2011 - 18:39
Posted 21 September 2011 - 21:35
Is there a way to aviod multiple entries in the ARP, when you go with a major upgrade in place of small/minor upgrades by changing the product code(Package code, and version number also changed)
Posted 22 September 2011 - 17:12
Posted 22 September 2011 - 18:57
Adding enrty to the upgrdes view solved my problem, and it does maintain one entry in the ARP now.
I was new to Installshiedl and I wasn't know that I have to add an enrty to the Upgrades view when you does an upgrade.