Oct 26, 2017
01:24 PM
ktbrownusa wrote: In a previous install a file was marked as Permanent. I would like to delete the file and put a new one in it's place during a full major update MSI installation. I was thinking about creating a CA to do this, but was working where I'd place it or if there is another way. Any suggestions? Kevin I created a CA that runs after Unpublish Features. This way the full uninstall has been completed if this is a major uninstall. I put in the conditions REMOVE <> "ALL" so it doesn't run at the uninstall, just for the Install. Sychronous Immediate execution Always Execute Script as follows: 'This routine finds the permanent file and removes it by backing it up. 'Then the install will place the new file Dim fso, FileConfig FileConfig = "TheActualFileName" DataDir = Session.Property("CommonAppDataFolder") & "Company\DataDirectory\" On error resume next Set fso = CreateObject("Scripting.FileSystemObject") 'If we haven't updated the the file to new one 'This is only for this move. If the back up exsits, we do not need to do it again 'MsgBox DataDir & FileConfig & "_Backup " & "|" & DataDir & FileConfig If Not fso.FileExists (DataDir & FileConfig & "_Backup") then fso.MoveFile DataDir & FileConfig, DataDir & FileConfig & "_Backup" End If
... View more
Oct 25, 2017
07:20 AM
In a previous install a file was marked as Permanent. I would like to delete the file and put a new one in it's place during a full major update MSI installation. I was thinking about creating a CA to do this, but was working where I'd place it or if there is another way. Any suggestions? Kevin
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Apr 20, 2011
01:21 PM
Where is the message stored? Can I change it? Kevin
... View more
Labels
- Labels:
-
InstallShield 2011
Mar 24, 2011
01:37 PM
When creating a major upgrade that forces a complete uninstall, you have to change the product code AND the product version. Also, remember that the product version has to be a significant change, meaning the first three digits; ie: A.B.C.D (either A,B or C have to change). I have run into these more than once. What you will find when you just change the Product Version is two entries in the Add/Remove Programs in the Control Panel. We have many Engineering builds and run into this issue all the time. I'm looking now for a solution to ALWAYS uninstall the product no matter what solution as we speak. If I find it, I'll come back here and post the solution. For definitions see http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/MajorMinorSmall.htm -Kevin
... View more
Latest posts by ktbrownusa
Subject | Views | Posted |
---|---|---|
890 | Oct 26, 2017 01:24 PM | |
1348 | Oct 25, 2017 07:20 AM | |
1048 | Dec 01, 2011 03:06 PM | |
2779 | Apr 20, 2011 01:21 PM | |
954 | Mar 24, 2011 01:37 PM |
Activity Feed
- Posted Solution on InstallShield Forum. Oct 26, 2017 01:24 PM
- Posted Quick delete of previous installs file maked Permanent on InstallShield Forum. Oct 25, 2017 07:20 AM
- Tagged Quick delete of previous installs file maked Permanent on InstallShield Forum. Oct 25, 2017 07:20 AM
- Posted You're kidding on InstallShield Forum. Dec 01, 2011 03:06 PM
- Posted "The system administrator has set policies to prevent this installation." on InstallShield Forum. Apr 20, 2011 01:21 PM
- Posted Not only Product Code on InstallShield Forum. Mar 24, 2011 01:37 PM