Major Upgrade Problem
Posted 06 November 2003 - 15:02
UpgradeCode {#OLDSETUPCODE#}
VersionMin 0.0.0
VersionMax 1.1.02
Language
Attributes 5
Remove
ActionProperty OLDAPPFOUND
ISDisplayName MajorUpgrade
The update runs through, but does not copy any files from "ProgrammFiles". The setup informations will be saved, and will also be used at the deinstallation process.
The deinstallation process removes those files, that are known both at first installation and the update. Files that were not known to the update remain untouched.
As the update does not copy any files, I used the XCopyFile command to copy them manually. In this case however, the second setup will not be recognised: deinstallation uses the setup of the first installation.
-Why does my update not copy files automatically? Have I forgotten to configure something?
-Why won't the deinstallation process use the updated setup, when I copy the files manually?
Posted 07 November 2003 - 03:21
-Stein Åsmul
Posted 07 November 2003 - 12:17
generate a log while installing the upgrade to see if it reveals anything useful.
Stefan Krüger
InstallSite.org twitter facebook
Posted 07 November 2003 - 18:33
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 10:12
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 11:26
QUOTE |
MSI (s) (34:70): SELMGR: ComponentId '{AB5FDF93-F75B-4D23-B4E9-339C4B5F89BF}' is registered to feature 'MainApp', but is not present in the Component table. Removal of components from a feature is not supported! MSI (s) (34:70): SELMGR: The feature-component mapping registration is broken for feature 'MainApp' of product '{6C237EE9-7C9B-4DD4-9714-88D93849000D}' |
As a result Windows Installer gets confused about the installed state of your features:
QUOTE |
MSI (s) (34:70): Feature: MainApp; Installed: Advertise; Request: Reinstall; Action: Reinstall |
Which explains the behaviour you see.
Make sure you follow the upgrade rules, and validate your upgrade item in InstallShield. Or build a Major Upgrade instead.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 11:27
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 12:09
I can change the installpath, the files will be copied and the old installation will not be deleted.
In Software exists only 1 item to uninstall.
Posted 10 November 2003 - 12:35
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 13:32
I habe two logfiles from the installations.
Log from first:
Attached Files
Posted 10 November 2003 - 14:29
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 November 2003 - 23:21
- Is the OLDAPPFOUND property defined in the property Manager section of your setup? If so, does it have a value assigned?
- Is the "RemoveExistingProducts" and "FindRelatedProducts" actions inserted into the execute sequence of your setup?
- Try to set the attribute field equal to 768
-Stein Åsmul
Posted 11 November 2003 - 09:54
OLDAPPFOUND I have founded in the forum, but I don't know how it works.
Where can I change the actions in my setup?
Posted 11 November 2003 - 10:15
Stefan Krüger
InstallSite.org twitter facebook
Posted 11 November 2003 - 10:28
Do I have to do anything with this property besides defining it in the Property-Manager?
Posted 11 November 2003 - 10:45
You should create a property in Proptery table named SecureCustomProperties and as value specify the property name. E.g. if your property in Upgrade table is MYOLDVERSION add to Property tabel like this:
SecureCustomProperties MYOLDVERSION
If SecureCustomProperties already exists then append your property, delimited with a semicolon, like this:
SecureCustomProperties SOMEOTHERPROPERTY;MYOLDVERSION
Stefan Krüger
InstallSite.org twitter facebook