Upgrade only works from IDE
Posted 24 May 2005 - 15:06
Its a major upgrade with feature changes/removal.
The version is 1.00.trial vs 1.00.0000, but I've left the Product/Upgrade codes unchanged. This seemed to work fine from the IDE; the uninstall and reinstall went perfect... The UI sequence is identical except the quick message about 'removing old versions'.
But running from the setup.exe says 'This will perform an upgrade ... continue?'. It DOESN'T run the UI sequence, just a 'resuming installation' screen. But nothing gets changed, old features still there, none of the new features.
Posted 24 May 2005 - 15:38
Posted 25 May 2005 - 08:51
Then add a Major Upgrade item to your project and perform Upograde Validation to see if everything is set up correctly for your Major Upgrade. (I'm not sure if this is possible for "InstallScript MSI" projects)
There are known upgrade issues with "InstallScript MSI" rojects. Therefore I strongly recommend using "Basic MSI" instead.
Posted 02 June 2005 - 18:44
I've attached the validation results.log. Some of what it says makes no sense to me: it has "errors" about not being able to perform a minor/small upgrade, but adding a major upgrade item made no difference. And differences in components claimed - I didn't change anything in them, just replaced them in the non-trial release.
Does having a trial and non-trial release with different components for the .exe and other files make sense in the same .msi installer?
Why is a validation check even necessary? If I've asked it to do a complete uninstall and it SAYS it will perform the upgrade, what do changes matter? Wipe it out, baby, save the user that uninstall step.
Thanks for the help, Stefan.
Posted 02 June 2005 - 19:06
|This setup will perform a MINOR upgrade of the referenced previous setup|
So I guess you didn't change the ProductCode.
Posted 02 June 2005 - 19:48
The validation log is attached.
Posted 03 June 2005 - 14:48
|The setup needs to perform a Major Upgrade of the previous setup specified. While upgrade table entries exist for the Upgrade Code, there is no upgrade table entry that matches the Product Version '1.00.trial' or Product Language '1033'.|
In den Upgrade-Einstellungen musst du die ProductVersion deiner alten Version angeben, oder den radiobutton "any earlier version" wählen.
Übrigens ist '1.00.trial' sowieso keine gültige ProductVersion. Windows Installer erlaubt hier nur Zahlen.
Posted 04 June 2005 - 00:02
And I've tried "Products sharing my upgrade code",
and "Products with another upgrade code" (pasting the same code there),
and "Any earlier version",
and "range x-1.00.0000",
makes no difference: I still get 2 installs in Add/Remove programs, with the older product still in the directories.
The validation log is attached.
(thank the internet for BabelFish!)
Posted 04 June 2005 - 19:57
|The setup needs to perform a Major Upgrade of the previous setup specified. While upgrade table entries exist for the Upgrade Code, there is no upgrade table entry that matches the Product Version '1.00.0000' or Product Language '1033'.|
So assuming that your old version is 1.00.0000 and the new version is 1.00.0001 (or any other greater value) there might be a problem with your language setting. Are both of your setups marked as 1033?