I don't immediate see what is wrong but there are a couple things:

1. RemoveExistingProducts usually does not have a conditon on it, unless
you are doing something really complicated. I expect in the upgrade case
the property is set so things should be working but that is something I
would not add.  Although, honestly, I use MajorUpgrade element all the time
now since it is "prettier".

2. Your MSI installs to ProgramFilesFolder but it appears to be per-user. I
highly recommend making your MSI per-machine (set Package/@InstallScope in
v3.6). However, you cannot upgrade across install scope (unfortunately) so
when you do that you'll have to block and have users remove the per-user
install themselves.  If you've mixed scopes already that would explain the
upgrade problem, BTW. <smile/>
After that, a full verbose log file would be necessary to really debug
quickly.


On Sun, Jul 1, 2012 at 4:16 AM, Daniel Marjamäki <daniel.marjam...@gmail.com
> wrote:

> Hi!
>
> I have a problem with my installation script when users try to update
> to a newer version.
>
> The update looks ok. But when the user try to execute the program a
> msi is started that finish the update.
>
> For more info, I am trying to fix this issue:
> http://sourceforge.net/apps/trac/cppcheck/ticket/3925
>
> The wix file is here:
> http://github.com/danmar/cppcheck/blob/master/win_installer/cppcheck.wxs
>
> I have tried replacing the <UpgradeCode> in the file with
> <MajorUpgrade> but it gives me the same results.
>
> I get no warnings/errors when building the MSI. I have tried both WIX
> v3.5 and v3.6.
>
> I am not good at wix.. but I tried to log what happens. And I think
> this looks suspicious:
>
> MSI (s) (38:A0) [11:56:26:418]: WIN64DUALFOLDERS: Substitution in
> 'C:\Program Files (x86)\Cppcheck\' folder had been blocked by the 1
> mask argument (the folder pair's iSwapAttrib member = 0).
>
> There are such messages for each file that should be updated.
>
> Installation works fine. The problem is updates.
>
> Regards,
> Daniel
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to