I have a requirement to allow 'overwrite' of same version. I've tried
various combinations of <Upgrade>, here is my current:

<Upgrade Id="INSERT_GUID_HERE">
      <UpgradeVersion OnlyDetect="yes" Property="SELFFOUND"
        Minimum="1.0.0" IncludeMinimum="yes"
        Maximum="1.0.0" IncludeMaximum="yes" />
      <UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND"
        Minimum="1.0.1" IncludeMinimum="no" />
    </Upgrade>

and in InstallExecuteSequence I have:

 <RemoveExistingProducts Before="InstallInitialize" />

I think the 'right' thing to do is to require uninstall and then reinstall
'manually', but my requirement is to allow user to go through installer
forms - using custom managed BA - and change values, including
'INSTALLLOCATION'. I've been able to handle a 'Modify' operation correctly
in the BA, showing all required screen with values from previous install
filled. Is there some way to force MSI to uninstall itself then install
again? I suppose I could, from the BA, run the msi with /uninstall options
then run it again with /install options but is this the best way to do
something like that?
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to