[wix-devs] how to create patch using Wix and VS2013
Phill Hogland
phill.hogland at rimage.com
Tue Jan 31 08:06:45 PST 2017
I'm sorry, I did not notice that this question had been posted to the wrong forum.
________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Phill Hogland <phill.hogland at rimage.com>
Sent: Tuesday, January 31, 2017 10:02:38 AM
To: wix-devs at lists.wixtoolset.org
Subject: Re: [wix-devs] how to create patch using Wix and VS2013
Creating a MSI patch is a rather advanced topic. Your questions implies a need for a more fundamental understanding of MSI before you try to create a patch. You will find that creating a MSI package using the "setup" VS Wix template, and then following the MajorUpgrade rules to deploy a new version of the MSI package, to be a simpler more manageable approach.
https://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/
1) I do not believe that there is a vs template for a patch project.
2) Depends on the application. The question implies that you do not have a MSI package to 'patch'.
3) Depends on the application. If you created a MSI then you should use the Remember Property pattern, or if using Burn a Burn-persisted variable.
http://robmensching.com/blog/posts/2010/5/2/the-wix-toolsets-remember-property-pattern/
http://www.nichesoftware.co.nz/2013/08/07/wix-and-the-remember-property-pattern.html
4) Look at
<util:RestartResource ServiceName="Service_Short_Name"/>
or
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="Service_Short_Name" Wait="yes" />
________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of anith raj <anithraj143 at gmail.com>
Sent: Tuesday, January 31, 2017 6:12:15 AM
To: wix-devs at lists.wixtoolset.org
Subject: [wix-devs] how to create patch using Wix and VS2013
Hello Team,
I m able to develop installer using Wix installer. Now m trying to develop
an patch for existing application.
http://petermarcu.blogspot.in/2007/06/wix-building-patch-using-new-patch_29.html
I was following above link to develop the patch installer, but i got struck.
Here are my queries.
1. Which template i have to choose in VS2013 to develop an patch installer.
2. How to detect the exiting application whether its is exist or not and if
exist, which version i have ?
3. how to get the installed location of existing application ?
4. If m copying the services then how to stop the services and install and
again start the services.
T
?hanks in advance
Regards
Anith?
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-devs
mailing list