My understanding is that patching always has REINSTALL set. Try "msiexec
/update mypatch.msp /l*vx patch.log" and examine the properties to see what
is and isn't set when you attempt to apply your patch.

Also I ask, you will never support a major upgrade? I wish I had that kind
of confidence in the future.

Oh, and remind me to ask you what your product is so I can avoid ever
installing it on anything I ever control.

-----Original Message-----
From: Lian Jiang [mailto:lji...@microsoft.com] 
Sent: Wednesday, November 18, 2009 2:42 PM
To: General discussion for Windows Installer XML toolset.
Cc: r...@snsys.com
Subject: Re: [WiX-users] how to prevent uninstalling MSI using msiexec with
Guid

Hi Rob,

Please believe we have right reason to block uninstalling.

With this launch condition I can repare using "msiexec /f my.msi" but cannot
patch using "msiexec /update mypatch.msp".

<Condition Message="Uninstall is not supported">REINSTALL or Not
Installed</Condition>

Is there a way to block uninstalling while still enable patching?

Appreciate your help.


Thanks
Lian

-----Original Message-----
From: Rob Hamflett [mailto:r...@snsys.com] 
Sent: Tuesday, November 17, 2009 12:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] how to prevent uninstalling MSI using msiexec with
Guid

Why are you preventing people from uninstalling your product?  You're never
going to be able to 
upgrade your installation or repair it.

Rob

Lian Jiang wrote:
> This one worked for me:
> 
> <Condition Message="Uninstall is not supported">REINSTALL or Not
Installed</Condition>
> 
> Thanks
> Lian
> 
> -----Original Message-----
> From: Lian Jiang [mailto:lji...@microsoft.com] 
> Sent: Monday, November 16, 2009 11:59 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] how to prevent uninstalling MSI using msiexec with
Guid
> 
> Hi,
> 
> If necessary, is it possible to prevent users from uninstalling an
installed MSI by using guid in command line (e.g. msiexec /x {Guid})?
> 
> Appreciate any advice.
> 
> Thanks
> Lian
> 
>
----------------------------------------------------------------------------
--
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
> trial. Simplify your report design, integration and deployment - and focus
on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
>
----------------------------------------------------------------------------
--
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
> trial. Simplify your report design, integration and deployment - and focus
on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july


----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to