[WiX-users] WIX support for both 2012 and 2008 at the same time ?
I was using vs 2012 with wix 3.7 and it was working well for me. Now I need to compile my sources on vs 2008 with sp1. I installed vs 2008 and vs 2008 sp1, and did a repair for wix 3.7 assuming it would add the votive plugin to vs 2008. But I still can't see wix projects in vs 2008. Do I need to uninstall vs 2012 ? Or do I need to uninstall wix and reinstall again ? -nikhil -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WIX-support-for-both-2012-and-2008-at-the-same-time-tp7589110.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX support for both 2012 and 2008 at the same time ?
Uninstall wix and reinstall again should sort it out. Neil >I was using vs 2012 with wix 3.7 and it was working well for me. Now I >need >to compile my sources on vs 2008 with sp1. I installed vs 2008 and vs 2008 >sp1, and did a repair for wix 3.7 assuming it would add the votive plugin >to >vs 2008. But I still can't see wix projects in vs 2008. Do I need to >uninstall vs 2012 ? Or do I need to uninstall wix and reinstall again ? > >-nikhil -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] install only on server 2012 and server 2008
I need to be able to install only on windows server 2012 and windows server 2008 r2, everything else is a no-no.. (no client OS, no vista, no xp, no windows 7/8) what condition should I use? Thanks, Nikhil -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/install-only-on-server-2012-and-server-2008-tp7589112.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing Custom Action Using bootstrapper After/Before certain Msi/Exe
Maybe just add another package which contain this CA? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Executing-Custom-Action-Using-bootstrapper-After-Before-certain-Msi-Exe-tp7589071p7589115.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] install only on server 2012 and server 2008
On 9/20/2013 12:20 PM, nkshirsagar wrote: > I need to be able to install only on windows server 2012 and windows server > 2008 r2, everything else is a no-no.. (no client OS, no vista, no xp, no > windows 7/8) what condition should I use? See http://msdn.microsoft.com/en-us/library/windows/desktop/aa370905%28v=vs.85%29.aspx#operating_system_properties You'll probably want VersionNT >= 6.1 And VersionNT < 6.3 And MsiNTProductType > 1 With Windows Server 2012 R2 now released to MSDN you might want to drop the "VersionNT < 6.3" condition if you want to support it and future versions of Windows (2008R2 is 6.1, 2012 is 6.2, 2012 R2 is 6.3). -- Bruce Cran -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs
1) $(var.Version) is set in properties as Version=$(Version) which is passed via TFS. This works fine in all my other builds 2) we are incrementing the last node (3.8.0.40 to 3.8.0.41) which has never been in an issue in other installers. I will try incrementing another node to see if that makes a difference 3) I have tried MajorUpgrade - and a number of other things that hasn't worked. - I'll try it again and post the next. The main difference from this installer from my others 1) It's a Windows Service as opposed to Windows Forms (not that that should matter) 2) The UI code at the bottom -which you can see is to set the user/account for the installer and permissions on the folder. Thanks! -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Thursday, September 19, 2013 7:56 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs I assume you are getting duplicate entries after you attempt an upgrade. If so, how is $(var.Version) changing between upgrade attempts? Be aware that Windows Installer only takes the first THREE parts of the ProductVersion into consideration. ProductVersions 1.2.3.4 and 1.2.3.5 are the same ProductVersion to Windows Installer. /Wix/Product/@UpgradeCode does not match /Wix/Product/Upgrade/@Id. I expected them to be the same. I also expected /Wix/Product/Upgrade/UpgradeVersion/@Maximum == $(var.Version) instead of 99.0.0.0. Consider using the element instead of handcrafting your own Upgrade entries. On 9/19/13 5:11 PM, Daniel Sniderman wrote: > Not sure what I'm doing wrong. Here's my XML, I've tried other suggestions > I've found on this list, Stack Overflow etc - but nothing I do makes a > difference. > > Thanks! > > > http://schemas.microsoft.com/wix/2006/wi"; > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> >Manufacturer="Abbott Laboratories" Name="ActivityService" > UpgradeCode="89071eb3-16a3-4c6b-bd1d-e6a97c4359db"> > Manufacturer="Abbott Laboratories" InstallScope="perMachine" /> > > > > > Minimum="1.0.0.0" Maximum="99.0.0.0" > Property="PREVIOUSVERSIONSINSTALLED" > IncludeMinimum="yes" IncludeMaximum="no" /> > > > > > > > > > Description="CMSNext Activity Service" > Display="expand" ConfigurableDirectory="ACTIVITY_SERVICE"> > >Guid="31E1916C-C699-48CA-BCFB-B2542D61EFB9" Directory="ACTIVITY_SERVICE"> > KeyPath="yes" > Source="$(var.ActvityServiceWindowsSvc.TargetDir)\ActvityServiceWindowsSvc.exe" > /> > > > > > Type="ownProcess" > Vital="yes" > Name="CMSNext Activity Service" > DisplayName="CMSNext Activity Service" > Description="CMSNext Service to send message to GIS Hub > when tickets are inserted or updated" > Start="auto" > ErrorControl="normal" > Interactive="no" > Account="[ACCOUNT]" > Password="[PASSWORD]" > > > > Name="CMSNext Activity Service" > Remove="uninstall" > Stop="both" > Wait="yes"> > > > > > > > > > > > > > > > > > > > > > > > > > > >Value="Return" Order="999">1 > >Value="LicenseAgreementDlg">1 > >Value="WelcomeDlg">1 >Event="NewDialog" Value="CustomizeDlg">LicenseAccepted = "1" > >Value="MaintenanceTypeDlg" Order="1">Installed >Value="LicenseAgreementDlg" Order="2">NOT Installed >Value="ServiceAccountDlg" Order="1">1 > >Value="CustomizeDlg">1 >Event="NewDialog" Value="VerifyReadyDlg">1 > >Value="ServiceAccountDlg" Order="1">NOT Installed OR WixUI_InstallMode = > "Change" >Event="NewDialog" Value="MaintenanceTypeDlg" > Order="2">Installed > >Event="NewDialog" Value="MaintenanceTypeDlg">1 > >Event="NewDialog" Value="CustomizeDlg">1 >Event="NewDialog" Value="VerifyReadyDlg">1 >Event="NewDialog" Value="VerifyReadyDlg">1 >Event="NewDialog" Value="MaintenanceWelcomeDlg">1 > >Title="[ProductName] Setup"> > Height="17" Text="!(loc.WixUIBack)" /> > Height="17" Default="yes" Text="!(loc.WixUINext)"> > > ACCOUNT <> "" AND PASSWORD > <> "" > > > Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> > 1 > > > Height="44" TabSkip="no" Text="WixUI_Bmp_Banner" /> > Height="0" /> > Height="0" /> > Width="280" Height="15" Transparent="yes" NoPrefix="yes" T
Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs
The rules are: 1. ProductCode different to previous version. 2. UpgradeCode the same. 3. ProductVersion incremented in the first three digits. http://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx 4. The InstallScope (or whatever you used to set the ALLUSERS property) must be the same as the already installed product. A verbose log should tell you which, and the ProductVersion comment about "other installers" is not relevant if they were not MSI setups, see the link there. Phil Wilson On Fri, Sep 20, 2013 at 6:46 AM, Daniel Sniderman wrote: > 1) $(var.Version) is set in properties as Version=$(Version) which is > passed via TFS. This works fine in all my other builds > 2) we are incrementing the last node (3.8.0.40 to 3.8.0.41) which has > never been in an issue in other installers. I will try incrementing > another node to see if that makes a difference > 3) I have tried MajorUpgrade - and a number of other things that hasn't > worked. - I'll try it again and post the next. > > The main difference from this installer from my others > > 1) It's a Windows Service as opposed to Windows Forms (not that that > should matter) > 2) The UI code at the bottom -which you can see is to set the user/account > for the installer and permissions on the folder. > > Thanks! > > -Original Message- > From: Edwin Castro [mailto:0ptikgh...@gmx.us] > Sent: Thursday, September 19, 2013 7:56 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs > > I assume you are getting duplicate entries after you attempt an upgrade. > If so, how is $(var.Version) changing between upgrade attempts? > > Be aware that Windows Installer only takes the first THREE parts of the > ProductVersion into consideration. ProductVersions 1.2.3.4 and 1.2.3.5 are > the same ProductVersion to Windows Installer. > > /Wix/Product/@UpgradeCode does not match /Wix/Product/Upgrade/@Id. I > expected them to be the same. > > I also expected /Wix/Product/Upgrade/UpgradeVersion/@Maximum == > $(var.Version) instead of 99.0.0.0. > > Consider using the element instead of handcrafting your own > Upgrade entries. > > On 9/19/13 5:11 PM, Daniel Sniderman wrote: > > Not sure what I'm doing wrong. Here's my XML, I've tried other > suggestions I've found on this list, Stack Overflow etc - but nothing I do > makes a difference. > > > > Thanks! > > > > > > http://schemas.microsoft.com/wix/2006/wi"; > > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> > >Manufacturer="Abbott Laboratories" Name="ActivityService" > UpgradeCode="89071eb3-16a3-4c6b-bd1d-e6a97c4359db"> > > > Manufacturer="Abbott Laboratories" InstallScope="perMachine" /> > > > > > > > > > >> Minimum="1.0.0.0" Maximum="99.0.0.0" > > Property="PREVIOUSVERSIONSINSTALLED" > > IncludeMinimum="yes" IncludeMaximum="no" /> > > > > > > > > > > > > > > > > > > Description="CMSNext Activity Service" > > Display="expand" ConfigurableDirectory="ACTIVITY_SERVICE"> > > > >Guid="31E1916C-C699-48CA-BCFB-B2542D61EFB9" Directory="ACTIVITY_SERVICE"> > > KeyPath="yes" > Source="$(var.ActvityServiceWindowsSvc.TargetDir)\ActvityServiceWindowsSvc.exe" > /> > > > > > > > > > > > Type="ownProcess" > > Vital="yes" > > Name="CMSNext Activity Service" > > DisplayName="CMSNext Activity Service" > > Description="CMSNext Service to send message to GIS > Hub when tickets are inserted or updated" > > Start="auto" > > ErrorControl="normal" > > Interactive="no" > > Account="[ACCOUNT]" > > Password="[PASSWORD]" > > > > > > > > Name="CMSNext Activity Service" > > Remove="uninstall" > > Stop="both" > > Wait="yes"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Value="Return" Order="999">1 > > > >> Value="LicenseAgreementDlg">1 > > > >Event="NewDialog" Value="WelcomeDlg">1 > >> Event="NewDialog" Value="CustomizeDlg">LicenseAccepted = "1" > > > >Value="MaintenanceTypeDlg" Order="1">Installed > >Value="LicenseAgreementDlg" Order="2">NOT Installed > >> Value="ServiceAccountDlg" Order="1">1 > > > >Event="NewDialog" Value="CustomizeDlg">1 > >> Event="NewDialog" Value="VerifyReadyDlg">1 > > > >Value="ServiceAccountDlg" Order="1">NOT Installed OR WixUI_InstallMode = >
Re: [WiX-users] Execution order issue
Indeed, the original post seems to say that the issue is that InstallFiles is after the copy CA. It's not clear why the CA cannot be just moved to after InstallFiles. Phil Wilson On Thu, Sep 19, 2013 at 1:35 PM, Blair Murri wrote: > Now that your CA is deferred, what happens if you schedule it right after > InstallFiles? > > Remember, verbose logs tell a lot about what is and/or isn't happening. > > > From: kpet...@otaksoft.com > > To: wix-users@lists.sourceforge.net > > Date: Thu, 19 Sep 2013 13:15:38 -0700 > > Subject: Re: [WiX-users] Execution order issue > > > > Phil, > > > > modified it accordingly (I think..) and this places CA_CopyMasterIni > immediately BEFORE InstallFiles > > in the InstallExecute Sequence table > > > > > > > Id="CA_CopyMasterIni" > > BinaryKey="BIN_InstallHelperDLL" > > DllEntry="CopyMasterInifile" > > Execute="deferred" > > Return="check" > > HideTarget="no" > > Impersonate="yes" /> > > > > > > > > > > After="RemoveExistingProducts" /> > > > > > > > > How can I push it AFTER InstallFiles AND have it work? Surely there must > be a way..? > > > > > > PS: Thanks for the warning re. repair/uninstall - had not thought abut > that! > > > > Thanks for your help so far, > > Kai > > > > > > > > > > On Thu, 19 Sep 2013 07:20:46 -0700, Phil Wilson wrote: > > > Well that means that you put it between InstallInitialize and > InstallFinalize but before > > > InstallFiles, if that's where it's supposed to be. Did you try that? > > > > > > It's not a safe design without some extra details. When InstallFiles > copies your file, you need > > > to be sure it won't replace the one you already copied - what do have > to prevent that from > > > happening? You may also need a condition on your copy to prevent it > from happening during a > > > repair or uninstall > > > > > > Phil Wilson > > > > > > > > > On Wed, Sep 18, 2013 at 5:48 PM, Kai Peters > wrote: > > > > > >> My mistake for not specifying what else I had tried: > > >> > > >> When i switched to 'deferred' LIGHT complained: > > >> > > >> error LGHT0204 : ICE77: CA_CopyMasterIni is a in-script custom > action. It must be sequenced in > > >> between the InstallInitialize action and the InstallFinalize action > in the > > >> InstallExecuteSequence table > > >> > > >> I also found a piece of advice stating that in this case one should > schedule in > > >> InstallUISequence - but that just gave errors during MSI execution > > >> > > >> > > >> On Wed, 18 Sep 2013 11:07:05 -0700, Phil Wilson wrote: > > >>> Your copy custom action is immediate - that means it will always > happen > > >>> > > >> before any files are > > >>> actually copied. If you need it to run after InstallFiles has > physically > > >>> > > >> copied files it should > > >>> be marked deferred. > > >>> > > >>> Phil Wilson > > >>> > > >>> > > >>> On Tue, Sep 17, 2013 at 10:45 PM, Kai Peters > > >>> > > >> wrote: > > >> > > Hi all, > > > > hopefully my last newbie issue for some time (all previous issues > have > > > > >> been resolved thanks to > > the great help from this list - thanks again!): > > > > I deploy a CA "CA_CopyMasterIni" to copy a configuration file > template > > > > >> from location A to > > location B > > if my customer's IT dept. has dropped one in location A prior to > > > > >> installing my MSI. > > >> > > This works as expected. > > > > However, as this process is optional I always need to install a > default > > > > >> template file (as shown > > below). > > > > The issue is that InstallFiles happens after my CA and thus the > > > > >> customer provided template gets > > overwritten if it was supplied. I had added NeverOverwrite="yes" to > the > > > > >> template component in > > hopes > > that this would prevent this overwriting but it does not... > > > > If I change sequences in the InstallExecute table and push my CA > after > > > > >> InstallFiles, the CA > > does not run. > > > > How can I achieve my goal? > > > > As always, thanks for any pointers, > > > > K. > > > > > > > > > > > > >> Id="FILE_IniTemplate" > > Name="Quadra.ini" KeyPath="yes" Vital="no" > > >> Source="$(var.MiscDir)\Quadra.ini" /> > > > > > > > > > >> BinaryKey="BIN_InstallHelperDLL" > > DllEntry="CopyTestMasterInifile" Execute="immediate" Return="check" > > > > >> HideTarget="no" > > Impersonate="yes" /> > > > > > > > > > > > > Action="CA_BackupGlobalIni" After="InstallValidate" /> > > > > > Action="CA_RestoreGlobalIni" After="RemoveExistingProducts" /> > > > > > > > > > > >> > > > > > > >> > -
Re: [WiX-users] install only on server 2012 and server 2008
Actually VersionNT is always defined with all OSs that are based on the NT kernel (which are the NT line + everything released after/including XP in both the client and desktop lines, and now including phone 8, except that Windows Installer isn't included in RT buildouts). What it was never defined in was the 9x line (including Millennium). I can verify that 2k8r2 defines VersionNT. > Date: Fri, 20 Sep 2013 08:19:48 -0700 > From: phogl...@rimage.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] install only on server 2012 and server 2008 > > I think you want to use VersionNT64, as VersionNT is 'undefined' on WS2008R2 > or later. > http://msdn.microsoft.com/en-us/library/windows/desktop/aa372495(v=vs.85).aspx > > > > > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/install-only-on-server-2012-and-server-2008-tp7589112p7589120.html > Sent from the wix-users mailing list archive at Nabble.com. > > -- > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs
Thanks - this is helpful. The key issue is #3 - we aren't incrementing the first three but the fourth. The other installers are WIX generated MSI's - and one is incrementing the third node. But one isn't - I just verified it DOES uninstall even when only the fourth matches. I'll show an excerpt of the code FWIW. I know we've been using the version numbering wrong - I've been trying to get it changed - but the Product Manager didn't want to change the way they've always done it (previously they used a VS Setup Project which evidently also did force an uninstall even when the first 3 matched) Here's what my other installer (that does uninstall even if the first 3 match) And the UI 1 1 1 1 1 1 1 -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent: Friday, September 20, 2013 9:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs The rules are: 1. ProductCode different to previous version. 2. UpgradeCode the same. 3. ProductVersion incremented in the first three digits. http://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx 4. The InstallScope (or whatever you used to set the ALLUSERS property) must be the same as the already installed product. A verbose log should tell you which, and the ProductVersion comment about "other installers" is not relevant if they were not MSI setups, see the link there. Phil Wilson On Fri, Sep 20, 2013 at 6:46 AM, Daniel Sniderman wrote: > 1) $(var.Version) is set in properties as Version=$(Version) which is > passed via TFS. This works fine in all my other builds > 2) we are incrementing the last node (3.8.0.40 to 3.8.0.41) which has > never been in an issue in other installers. I will try incrementing > another node to see if that makes a difference > 3) I have tried MajorUpgrade - and a number of other things that > hasn't worked. - I'll try it again and post the next. > > The main difference from this installer from my others > > 1) It's a Windows Service as opposed to Windows Forms (not that that > should matter) > 2) The UI code at the bottom -which you can see is to set the > user/account for the installer and permissions on the folder. > > Thanks! > > -Original Message- > From: Edwin Castro [mailto:0ptikgh...@gmx.us] > Sent: Thursday, September 19, 2013 7:56 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Getting Duplicate Entries in Add/Remove > Programs > > I assume you are getting duplicate entries after you attempt an upgrade. > If so, how is $(var.Version) changing between upgrade attempts? > > Be aware that Windows Installer only takes the first THREE parts of > the ProductVersion into consideration. ProductVersions 1.2.3.4 and > 1.2.3.5 are the same ProductVersion to Windows Installer. > > /Wix/Product/@UpgradeCode does not match /Wix/Product/Upgrade/@Id. I > expected them to be the same. > > I also expected /Wix/Product/Upgrade/UpgradeVersion/@Maximum == > $(var.Version) instead of 99.0.0.0. > > Consider using the element instead of handcrafting your > own Upgrade entries. > > On 9/19/13 5:11 PM, Daniel Sniderman wrote: > > Not sure what I'm doing wrong. Here's my XML, I've tried other > suggestions I've found on this list, Stack Overflow etc - but nothing > I do makes a difference. > > > > Thanks! > > > > > > http://schemas.microsoft.com/wix/2006/wi"; > > xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";> > >Manufacturer="Abbott Laboratories" Name="ActivityService" > UpgradeCode="89071eb3-16a3-4c6b-bd1d-e6a97c4359db"> > > > Manufacturer="Abbott Laboratories" InstallScope="perMachine" /> > > > > > > > > > >> Minimum="1.0.0.0" Maximum="99.0.0.0" > > Property="PREVIOUSVERSIONSINSTALLED" > > IncludeMinimum="yes" IncludeMaximum="no" /> > > > > > > > > > > > > > > > > > > Description="CMSNext Activity Service" > > Display="expand" ConfigurableDirectory="ACTIVITY_SERVICE"> > > > >Guid="31E1916C-C699-48CA-BCFB-B2542D61EFB9" > Directory="ACTIVITY_SERVICE"> > > KeyPath="yes" > Source="$(var.ActvityServiceWindowsSvc.TargetDir)\ActvityServiceWindowsSvc.exe" > /> > > > > > > > > > > > Type="ownProcess" > > Vital="yes" > > Name="CMSNext Activity Service" > > DisplayName="CMSNext Activity Service" > > Description="CMSNext Service to send message to > > GIS > Hub when tickets are inserted or updated" > > Start="auto" > >
Re: [WiX-users] install only on server 2012 and server 2008
I think you want to use VersionNT64, as VersionNT is 'undefined' on WS2008R2 or later. http://msdn.microsoft.com/en-us/library/windows/desktop/aa372495(v=vs.85).aspx -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/install-only-on-server-2012-and-server-2008-tp7589112p7589120.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall previous version with new version
Thank you Blair. In my wxs file I see a Product element with an Id attribute - I found a webpage that says that this is the ProductCode. Can you confirm? That appears to be static in my case so I suspect the problem is with the version number which is also static at "1.0.0.0" - I will need to find out how to update that within TFS. Cheers! .Mark -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Thursday, September 19, 2013 10:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Uninstall previous version with new version They have to be minor upgrades of each other (i.e. share the same ProductCode). The three downsides that immediately come to mind are that you cannot double-click version 2.msi and succeed at installing it (you have to supply a special command-line), if the version 2.msi isn't identically named the same as version 1 was then you can't ever even install it, and if you (re)move any components or otherwise break any component rules you orphan all of your resources and leave the entire product "advertised and not installed" without any of the resources actually removed (which can be fixed by immediately repairing, but that is very counter-intuitive). Also the upgrades do not use the Upgrade table (which is ignored during minor upgrades). > From: mri...@realtyim.com > To: wix-users@lists.sourceforge.net > Date: Fri, 20 Sep 2013 01:03:36 + > Subject: [WiX-users] Uninstall previous version with new version > > I remember using this feature from the past. I would have an .msi that is > version 1 and another being version 2. I install version 1 on my machine and > then I am able to right click the version 2 .msi and select "uninstall" and > have it succeed. > > Does anyone know how to do this? It's quite convenient. > -- > LIMITED TIME SALE - Full Year of Microsoft Training For Just > $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library > Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! > Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.c > lktrk ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bundle gets installed side-by-side even with same upgradecode
Has anybody solved the upgrade problem? > Try to use one RelatedBundle element only with Action="Upgrade". The advice I quote has not helped me. My installer is a very simple hyperlink installer (WixStandardBootstrapperApplication.HyperlinkLicense) with custom UI: bundle.wxs, theme.wxl and theme.xml, where the theme is a almost a copy of the hyperlink default theme. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-gets-installed-side-by-side-even-with-same-upgradecode-tp7582999p7589126.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Install Condition execution by Burn
I have created a bootstrapper for multiple MSI packages. Some MSI packages are database installers and can be run with options (through the command line). If an option is not specified, the installer will prompt the user to enter in the data. Is there a way to execute the options from the beginning (when I run the bootstrapper application)? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-Condition-execution-by-Burn-tp7589127.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Shortcut creation seems to cause sxs assembly error in Event Viewer
I am working on an issue that we are seeing when our WiX project creates shortcuts to target files that require assemblies to be already installed onto the machine. Okay here is the issue. We run our install, all shortcuts are created and the install completes without issues. The app and all shortcuts work and therefore everything looks okay, but when we open up the Event Viewer it will show side by side assembly errors on these apps. We thought that something was triggering the apps during install, but again we see no errors during the install. But in event viewer there were always 2 sxs errors for each app that had a shortcut created. So we checked the install and under the Shortcut Id entries we were only referencing IconIndex and Target .exe. So we figured that during install it has to extract the shortcut from the .exe and therefore that is what caused the issue. So we switched to use Icon="file.ico", where we just reference a .ico file. We ran the install again and this time instead of 2 sxs errors for each app there is only one. So just to verify we turned off the shortcuts and after running the install there are NO sxs errors. So has anyone ran into this before and if so how do we fix it. It is not a high bug as the app installs and runs and it is only in Event Viewer that you see these, but in the case where our install or app fail we normally ask for Install and Event Viewer logs and having these extra sxs errors just makes it more confusing as to what the actual errors are. So if anyone knows how to fix this or other methods to avoid these issues that would be great. Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Shortcut-creation-seems-to-cause-sxs-assembly-error-in-Event-Viewer-tp7589133.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] disable verbose logging for MSIPackage in Burn
All the MsiPackage that I have added in my Burn setup have the verbose logging enabled, for one of them it is 100 mb of log file and IO think this is one of the causes of the slow time of the install. How can I disable the Logging for a single MsiPackage? I haven't found any property in the MsiPackage, I have read that there is a MsiLogging property to set for the MSI but I have tried to set it as MSIProperty but nothing works. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] MSIFASTINSTALL ?!?!?!
I have seen that some installers like Visual Studio set this property MSIFASTINSTALL=7 but I haven't found the meaning of the parameter 7, in the microsoft documentatio there is only 4 values 1,2,3,4 http://msdn.microsoft.com/en-us/library/windows/desktop/dd408005%28v=vs.85%29.aspx adding this property to the MSI will speedup the setup? My burn setup is too slowly, even using the singles msi package they seem to be faster than when I run them inside Burn exe package. I need to speed up it, is there any way for doing this? -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSIFASTINSTALL ?!?!?!
those are bit values. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSIFASTINSTALL-tp7589130p7589131.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install Condition execution by Burn
Yes, you can pass values from the burn command line to the MSI. Create a Burn Variable:And then pass it to your MsiPackage use an MsiProperty element: -- John Merryweather Cooper Build & Install Engineer -- ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: gegeishol [mailto:dkim1...@msn.com] Sent: Friday, September 20, 2013 1:54 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Install Condition execution by Burn I have created a bootstrapper for multiple MSI packages. Some MSI packages are database installers and can be run with options (through the command line). If an option is not specified, the installer will prompt the user to enter in the data. Is there a way to execute the options from the beginning (when I run the bootstrapper application)? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-Condition-execution-by-Burn-tp7589127.html Sent from the wix-users mailing list archive at Nabble.com. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] MSIFASTINSTALL ?!?!?!
4+2+1=7 :) values are bits. Tomer Dror Intergraph Corporation. Intergraph Israel. P: +972 (4) 8779191-1222 Skype:tomer.dee http://www.intergraph.com . From: Marco Tognacci [mark...@live.it] Sent: Friday, September 20, 2013 10:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] MSIFASTINSTALL ?!?!?! I have seen that some installers like Visual Studio set this property MSIFASTINSTALL=7 but I haven't found the meaning of the parameter 7, in the microsoft documentatio there is only 4 values 1,2,3,4 http://msdn.microsoft.com/en-us/library/windows/desktop/dd408005%28v=vs.85%29.aspx adding this property to the MSI will speedup the setup? My burn setup is too slowly, even using the singles msi package they seem to be faster than when I run them inside Burn exe package. I need to speed up it, is there any way for doing this? -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Execution order issue
Thanks for asking the question again (why not after InstallFiles) - in my mind I had tried that and it failed. So I tried it again and got: Action ended 14:36:14: InstallFiles. Return value 1. MSI (s) (E8:74) [14:36:14:935]: Doing action: CA_CopyMasterIni MSI (s) (E8:74) [14:36:14:935]: Note: 1: 2205 2: 3: ActionText Action 14:36:14: CA_CopyMasterIni. Action start 14:36:14: CA_CopyMasterIni. MSI (s) (E8:80) [14:36:14:995]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI6D25.tmp, Entrypoint: CopyMasterInifile Action ended 14:36:15: CA_CopyMasterIni. Return value 1. All seems to look well - but CA_CopyMasterIni did not succeed as the file that ended up in the destination directory was the one installed by the MSI and not the external one copied by the CA. After I saw the log, I decided to rename the file installed by the MSI in my WIX code to see if overwriting was the failure point. It does appear so, for now I had both files in the dest. dir: the external one copied there by the CA and the installed one by a different name. So my question becomes: Is there something I need to be aware of here? I am using CopyFile from the Win API with FailIfExists set to False, so it should overwrite an existing file. Does MSIExec keep installed files locked while it's running? Thanks again, Kai On Fri, 20 Sep 2013 07:52:26 -0700, Phil Wilson wrote: > Indeed, the original post seems to say that the issue is that InstallFiles is > after the copy CA. > It's not clear why the CA cannot be just moved to after InstallFiles. > > Phil Wilson > > > On Thu, Sep 19, 2013 at 1:35 PM, Blair Murri wrote: > >> Now that your CA is deferred, what happens if you schedule it right after >> InstallFiles? >> >> Remember, verbose logs tell a lot about what is and/or isn't happening. >> >>> From: kpet...@otaksoft.com >>> To: wix-users@lists.sourceforge.net >>> Date: Thu, 19 Sep 2013 13:15:38 -0700 >>> Subject: Re: [WiX-users] Execution order issue >>> >>> Phil, >>> >>> modified it accordingly (I think..) and this places CA_CopyMasterIni >>> >> immediately BEFORE InstallFiles >>> in the InstallExecute Sequence table >>> >>> >>> >> Id="CA_CopyMasterIni" >>> BinaryKey="BIN_InstallHelperDLL" >>> DllEntry="CopyMasterInifile" >>> Execute="deferred" >>> Return="check" >>> HideTarget="no" >>> Impersonate="yes" /> >>> >>> >>> >>> >> Action="CA_RestoreGlobalIni" >>> >> After="RemoveExistingProducts" /> >>> >>> >>> >>> How can I push it AFTER InstallFiles AND have it work? Surely there must >>> >> be a way..? >> >>> >>> PS: Thanks for the warning re. repair/uninstall - had not thought abut >>> >> that! >> >>> Thanks for your help so far, >>> Kai >>> >>> >>> On Thu, 19 Sep 2013 07:20:46 -0700, Phil Wilson wrote: Well that means that you put it between InstallInitialize and >> InstallFinalize but before InstallFiles, if that's where it's supposed to be. Did you try that? It's not a safe design without some extra details. When InstallFiles >> copies your file, you need to be sure it won't replace the one you already copied - what do have >> to prevent that from happening? You may also need a condition on your copy to prevent it >> from happening during a repair or uninstall Phil Wilson On Wed, Sep 18, 2013 at 5:48 PM, Kai Peters >> wrote: >> > My mistake for not specifying what else I had tried: > > When i switched to 'deferred' LIGHT complained: > > error LGHT0204 : ICE77: CA_CopyMasterIni is a in-script custom > >> action. It must be sequenced in > between the InstallInitialize action and the InstallFinalize action > >> in the > InstallExecuteSequence table > > I also found a piece of advice stating that in this case one should > >> schedule in > InstallUISequence - but that just gave errors during MSI execution > > > On Wed, 18 Sep 2013 11:07:05 -0700, Phil Wilson wrote: > >> Your copy custom action is immediate - that means it will always >> >> happen >> > before any files are >> actually copied. If you need it to run after InstallFiles has >> >> physically >> > copied files it should >> be marked deferred. >> >> Phil Wilson >> >> >> On Tue, Sep 17, 2013 at 10:45 PM, Kai Peters >> > wrote: > >>> Hi all, >>> >>> hopefully my last newbie issue for some time (all previous issues >>> >> have >> > been resolved thanks to >>> the great help from this list - thanks again!): >>> >>> I deploy a CA "CA_CopyMasterIni" to copy a configuration file >>> >> template >> > from location A to >>> location B >>> if my customer's IT dept. has dropped one in location A prior to >>> > installing my MSI. > >>> This works as expected. >>> >>> However, as this process is optional I always need to install a >>> >> default >> > te
[WiX-users] File Associations with external programs
Hi, I'm developing a plugin for XMetaL(an document editor), and set XMetaL the default program for a new file type, let's say, myxml. I think Wix Progid element can help dealing with all of this. My code is as below: Here is my scenario: First I create a file called abc.myxml, the current icon of this file is blank page. Then I install my plugin, it sets XMetaL as the deafult program of myxml files. After the full installation, the icon of myxml files should change to XMetaL's icon. When I double click abc.myxml, it will be opened by XMetaL. What troubles me is that after installing the plugin, the icon of myxml files won't change. When I try to open abc.myxml, it raises XMetaL, which means, file associations take effect. I found this on MSDN: "Note Any time a file association is created or changed, notify the system that a change has been made by calling SHChangeNotify, specifying the SHCNE_ASSOCCHANGED event. If this is not done, the Shell might not recognize any changes made until the system restarts." I write a tiny c++ program to send SHChangeNotify and it works. But does anyone know how to generate this in Wix natively? This is my first time asking questions in mail threads. Correct me if I made something wrong, thanks in advance. -- Best Regards, Peng Lv Nanjing University, Computer Science & Technology Mobile:86-186-2643-8113 Email: penn...@gmail.com Website: http://www.rebornix.com -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users