Argh, yes it's the ALLUSERS property that tripped me. InstallShield uses 
a custom action to change the ALLUSERS property.
Thanks Rob
Theo
Op 7-12-2010 17:56, Rob Mensching schreef:
> Quick check: is ALLUSERS the same in both installs?  MSI won't upgrade
> per-machine with per-user and vice versa.
>
> On Tue, Dec 7, 2010 at 3:21 AM, Theo Landman<tland...@justcroft.com>  wrote:
>
>> Hello,
>> I'm trying to debug why a I cannot get WiX 3.0 to remove my older MSI
>> installation created with InstallShield. I have the following WiX code
>> for upgrading:
>>
>> <Upgrade Id="BF573C68-EE30-4279-AC28-5D8EE955F137">
>> <UpgradeVersion OnlyDetect="yes" Property="SELFFOUND"
>>        Minimum="3.0.0" IncludeMinimum="yes"
>>            Maximum="3.0.0" IncludeMaximum="yes"
>>       />
>> <UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND"
>>            Minimum="3.0.0" IncludeMinimum="no"
>>       />
>> <!-- Upgrade checking -->
>> <UpgradeVersion OnlyDetect="no" Property="OLDERFOUND"
>>          Maximum="3.0.0" IncludeMaximum="no"
>>       />
>> </Upgrade>
>>
>>     And
>>
>> <InstallExecuteSequence>
>> <Custom Action='AlreadyUpdated'
>> After='FindRelatedProducts'>SELFFOUND</Custom>
>> <Custom Action='NoDowngrade'
>> After='FindRelatedProducts'>NEWERFOUND</Custom>
>> <RemoveExistingProducts After='InstallInitialize' />
>> <Custom Action='StoreInstallLocation' After='InstallValidate' />
>> </InstallExecuteSequence>
>>
>> The following is a snippet what I get when I install the old 2.2.01
>> version of our product
>> Property(S): UpgradeCode = {BF573C68-EE30-4279-AC28-5D8EE955F137}
>> Property(S): ARPINSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
>> Property(S): ProductName = JustCGM Licence Server
>> Property(S): DialogCaption = InstallShield for Windows Installer
>> Property(S): ProductVersion = 2.2.01
>> Property(S): ProductID = None
>> Property(S): INSTALLDIR = C:\Program Files\Justcroft\jcgmlicsrv\
>>
>> And this is what I see when I install the newer 3.0.0 release
>> Property(S): UpgradeCode = {BF573C68-EE30-4279-AC28-5D8EE955F137}
>> Property(S): ALLUSERS = 1
>> Property(S): ARPINSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
>> Property(S): INSTALLLOCATION = C:\Program Files\Justcroft\jcgmlicsrv\
>> Property(S): ProductCode = {A18C64B9-BBDB-49DE-AE22-3FE3A115B278}
>> Property(S): ProductVersion = 3.0.0
>>
>> What other reasons could there be that despite having the same
>> UpgradeCode and the version being higher, the installation still fails
>> to remove the older 2.2.01 version?
>>
>> --
>>
>>     Never argue with idiots. They drag you down to their level, and then
>>     beat you with experience. — Dilbert
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What happens now with your Lotus Notes apps - do you make another costly
>> upgrade, or settle for being marooned without product support? Time to move
>> off Lotus Notes and onto the cloud with Force.com, apps are easier to
>> build,
>> use, and manage than apps on traditional platforms. Sign up for the Lotus
>> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>


-- 

    Never argue with idiots. They drag you down to their level, and then
    beat you with experience. — Dilbert 


------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to