Re: [WiX-users] run Sql commands through wix
Suitable de-fanged: !-- DirectoryRef Id=InstallDirectory Component Id=AssignServerPermissions Guid=NEED-A-GUID-HERE Win64=yes KeyPath=yes sql:SqlString ContinueOnError=no ExecuteOnInstall=yes Id=CreateLogin Sequence=1 ExecuteOnReinstall=yes ExecuteOnUninstall=no SQL=IF NOT EXISTS(SELECT name FROM sys.server_principals WHERE name = '[NTDOMAIN]\[NTACCOUNT]') BEGIN CREATE LOGIN [\[][NTDOMAIN]\[NTACCOUNT][\]] FROM WINDOWS END SqlDb=DbMaster User=DbUser / sql:SqlString ContinueOnError=no ExecuteOnInstall=yes Id=AddServerRole Sequence=2 ExecuteOnReinstall=yes ExecuteOnUninstall=no SQL=EXEC sp_addsrvrolemember '[NTDOMAIN]\[NTACCOUNT]', 'dbcreator' SqlDb=DbMaster User=DbUser / sql:SqlString ContinueOnError=no ExecuteOnInstall=yes Id=GrantSelect Sequence=3 ExecuteOnReinstall=yes ExecuteOnUninstall=no SQL=GRANT SELECT ON SysDatabases TO [\[][NTDOMAIN]\[NTACCOUNT][\]] SqlDb=DbMaster User=DbUser / sql:SqlString ContinueOnError=no ExecuteOnInstall=yes Id=AlterAnyConnectionRole Sequence=4 ExecuteOnReinstall=yes ExecuteOnUninstall=no SQL=GRANT ALTER ANY CONNECTION TO [\[][NTDOMAIN]\[NTACCOUNT][\]] SqlDb=DbMaster User=DbUser / /Component /DirectoryRef -- -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: John H Bergman (XPedient) [mailto:john.berg...@xpdnt.com] Sent: Thursday, December 06, 2012 10:39 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] run Sql commands through wix Does anyone have an example of this they could share or point me to? -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, December 5, 2012 9:09 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] run Sql commands through wix See the Sql elements in the wix.chm. On Wed, Dec 5, 2012 at 5:10 AM, Chaitanya chaita...@pointcross.com wrote: Hi, I want to run Sql commands through Wix,like insert,update,create. How to run sql commands through Wix. Suggest me Thanks, Chaitanya. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching http://RobMensching.com LLC -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ 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. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How do you extract the files from a bundle - answer
Where GPO is an issue, I create special installers tailored to the GPO transforms (in particular, I concentrate on make installers that are easy to both make transforms of and apply transforms too). GPO is still a very significant deployment vehicle--especially for user-facing products. It doesn't affect my server-side installers, but definitely my clients. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Wednesday, December 12, 2012 3:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How do you extract the files from a bundle - answer I know it is common - I have had to do it, I just hope some asks before trying to repackage my 540Mb of install! We have actually chosen two models of distribution, one that includes everything (.NET, Windows Installer, SQL etc.) and the other just the MSI for packagers; not an option for everyone but works for me. Neil -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 12 December 2012 21:32 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How do you extract the files from a bundle - answer I have worked as a packager for the Federal Government which uses SCCM, we at times have extracted .MSI's from Microsoft's packages and wrapped them... it is common to do so... Some installers come in an executable compressed file where you extract the files to a location and you can use those files in SCCM... I have: myBundle.exe which is only 800kb a Redist folder with all the .exe's and .msi's for the pre requisites and the main installer runs the same as having a 30 meg exe :) Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: December-12-12 4:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How do you extract the files from a bundle - answer WiX is free they can always download it. (I really hope no one does that to my bundle, how would they know the logic associated with installing the MSIs.) -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 12 December 2012 20:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How do you extract the files from a bundle - answer Clients who use GPO as a measure of releasing to mass desktops :) it can only use .MSI's Personally I would rather use SCCM :) Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: December-12-12 3:45 PM To: General discussion for Windows Installer XML toolset. Cc: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How do you extract the files from a bundle - answer Out of interest why would end users ever need this? I just thought it was handy for validating the contents. Neil On 12 Dec 2012, at 20:05, Steven Ogilvie steven.ogil...@titus.com wrote: Thanks... But at runtime this is moot since users won't have a copy of dark... Hopefully the feature request will be acted on, since there is a command line parameter to do so but it doesn't do anything :( I ended up NOT compressing the pre reqs and my installs into the bundle exe so I have the bundle exe with a Redist directory where the .Exe's and .Msi's reside in Thanks, Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: December-12-12 2:54 PM To: General toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] How do you extract the files from a bundle - answer I might be wrong but I think this has been asked a few times but not answered (in fact I think there is even a feature request). Well after writing the code to do this I discovered it already existed in dark: %wix%bin\dark setup.exe -x .\out This will extract all the embedded files and user experience data from setup.exe to the folder out. Hope this is useful. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.commailto:n...@x2systems.com -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
Re: [WiX-users] Installation of WiX36 issue- System Restore Point Creation Failure
Another exciting scenario that can create this I've run into occurs during testing. If I make an install, then uninstall, then install again in rapid succession, you can run into a race where the folder you're trying to X to (where X can be create, copy into or set permissions on) is still being deleted but still exists--at least on Server 2008/2008 R2. Particularly for web host folders, these can hang around for a few minutes or more after an uninstall. Generate some nasty bugs until I figured it out and told the testing personnel to wait for the folder to actually finish being deleted before installing to it again. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, January 02, 2013 10:14 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installation of WiX36 issue- System Restore Point Creation Failure The System Restore error isn't the issue. The fact that Continuing... is on the end of the line means it was non-fatal error. The fatal error is that the ACLs on your ProgamData cannot be set correctly. Last time we saw this was Neil actually had a per-machine Bundle that was trying to be installed on a machine where UAC was disabled but the user was not an admin. Any chance that is the scenario here? If not, can you check the ACLs on the folder mentioned in the error. Something is preventing us from being able to set the ACLs on it. On Wed, Jan 2, 2013 at 7:35 AM, Neil Sleightholm n...@x2systems.com wrote: Are you running the wix36.exe from an elevate process? If not I think that may be the issue. Neil -Original Message- From: Sanford, Gerard C [mailto:gerard.c.sanf...@jpmchase.com] Sent: 02 January 2013 15:10 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installation of WiX36 issue- System Restore Point Creation Failure Hi All, I'm looking to create a script that installs the WiX36.exe application silently. When running the following command, I am seeing an error related to a failure with the creation of a system restore point: C:\FAST\Wix36.exe -quiet Log snippet at the point of error: Plan complete, result: 0x0 Apply begin Creating a system restore point. Could not create system restore point, error: 0x80070514. Continuing... Error 0x8007051b: Failed to secure cache path: C:\ProgramData\Package Cache\ Error 0x8007051b: Failed to secure cache directory: C:\ProgramData\Package Cache\ Error 0x8007051b: Failed to create completed cache path for bundle. Error 0x8007051b: Failed to cache bundle from path: C:\Users\e655718\AppData\Local\Temp\{b231fcb6-e021-42f1-a485-f298f7b0b 978}\.be\WiX36.exe Error 0x8007051b: Failed to begin registration session. Error 0x8007051b: Failed to begin registration session in per-machine process. Error 0x8007051b: Failed to register bundle. Apply complete, result: 0x8007051b, restart: None, ba requested restart: No Shutting down, exit code: 0x8007051b When I watch the process via a tool that monitors elevation privileges (Policy Monitor), I am seeing a '-burn-unelevated' switch applied automatically: 87512-20-2012 14:21:50.903 APPLICATION: C:\FAST\Wix36.exe 87612-20-2012 14:21:50.903 ARGUMENTS: -quiet 87712-20-2012 14:21:51.319 APPLICATION: C:\FAST\Wix36.exe 87812-20-2012 14:21:51.319 ARGUMENTS: -quiet -burn.unelevated burnpipe.{55d02db9-3573-4d3a-a6e0-ff05793720db} {8f3179bc-ee69-4199-b6f2-3cb91e5e51b6} 5412 Is there a switch available that ensures that the installation will run in an elevated/privileged state? Or is the failure to create a system restore point caused by something else? Also, is there any documentation available on the web that shows all of the valid switches that are available? Any help on this issue is appreciated. Thank you, Gerard C. Sanford This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although
Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers
I'm posting this back to the list. I prefer my Wix discussions to be shared. I am aware of them, but I have not had a scenario where I have chosen to use them, yet. Conceptually, it requires carefully embedding debug code in your working immediate custom actions that is triggered only when the mutating variable is set to certain values. The part about embedding debugging code into my custom actions is a little scary. But having an immediate custom action complex enough to require several different run scenarios is also scary. I think the need for using mutations can be avoided by making ones immediate custom actions modular enough that they can easily be tested in a linear way. Put another way, if you think you need mutations, maybe you really need to make your custom actions narrower and more modular first. Really complex immediate custom actions that touch more than a few properties are hard to test anyway. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: kirann.he...@gmail.com [mailto:kirann.he...@gmail.com] Sent: Tuesday, January 08, 2013 6:09 AM To: John Cooper Subject: Hello - are you aware of test mutations?Kindly assist me with some answers 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. -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers
It's a difference of focus. Much like conventional unit tests, LUX is designed to validate the logic of your immediate custom actions. It's not really designed to validate your installer overall. Those would be validation tests, not unit tests anyway. So, the focus is much narrower. That being said, the logic of the immediate custom actions is critical to the installer being able to function in those scenarios, but LUX is not designed to directly test them. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: kirannhegde [mailto:kirann.he...@gmail.com] Sent: Wednesday, January 09, 2013 2:30 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers Hello John, Thanks for the response. Couple of other questions though: -How do you test the entries in AppSearch, RegLocator etc tables i.e the data contained in standard tables in windows installer? The msi built using Lux does not contain so many standard actions required to process such tables. -Most of my msi's carry out major upgrades and i need to even test this scenario. How do i do that as the installer built using Lux does not contain the standard actions and standard tables(such as Upgrade table etc)? I guess i inserted Upgrade table entries in the test fragement, however that did not seem to help. Regards, Kiran Hegde -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Re-Hello-are-you-aware-of-test-mutations-Kindly-assist-me-with-some-answers-tp7582728p7582740.html Sent from the wix-users mailing list archive at Nabble.com. -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ 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. -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Find out the features selected immediately
Not really. The properties one could refer to aren't finalized until after CostFinalize which is going to be too late for most of your dialogs. The way I worked around it with one my multi-feature installers as to maintain a set of shadow properties that tracked each of the features. This requires manually updating them during any action that might change the installed features. Thankfully, this was mostly concentrated in the CustomizeDlg, but it is a lot of bookkeeping. I've tried AddLocal and all the rest, but those methods were either not reliable enough, or not valid before CostFinalize. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, January 10, 2013 11:18 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Find out the features selected immediately Hi, Is there any way to find out which features a user selected from the feature dialog straight away via a custom action when they click Next on that dialog. I have tried to use the AddLocal property but it is not set and don't know how else to find this info out. Any help would greatly be appreciated. Thanks N -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers
Hmmm. I generally want my immediate custom actions to behave the same in install, reinstall or upgrade. I generally block the running of immediate custom actions in uninstall if I don't need them. I do have several scheduling custom actions, but only four: the VsdbCmd scheduler, the SqlPackage scheduler, the Local Group creator, and existing File Set Permissions schedulers have deferred sub-components. Since our databases are never uninstalled, the two database schedulers don't run at all in uninstall, and the Sql scripts are designed so that reinstall/repair is non-destructive. As much as I would like it, the specs for the Local Group and existing File Set Permissions schedulers never rollback (that's how the network guys want it), and they also don't run in uninstall. That being said, it is an interesting concept. I hadn't thought of testing installer states based on LUX documentation, so I'll have to explore that. Fault states, especially for things that use the ServerManager() constructor, might be very interesting. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 10, 2013 11:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers On 08-Jan-13 10:54, John Cooper wrote: Conceptually, it requires carefully embedding debug code in your working immediate custom actions that is triggered only when the mutating variable is set to certain values. The part about embedding debugging code into my custom actions is a little scary. But having an immediate custom action complex enough to require several different run scenarios is also scary. It's normal for a scheduling CA to run for scenarios like install, upgrade, uninstall, etc. That's probably the primary use case for mutations. The idea is that you have a variable of type WCA_TODO that's set normally, then overridden in an #ifdef DEBUG block to whatever the mutation is. The secondary use case is to allow you to inject faults so you can test your error handling. -- sig://boB http://joyofsetup.com/ -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to include Web Application folder inside MSI
See the Iis Extension in the Wix documentation. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Hertfelder Javier [mailto:javier.hertfel...@tgw-group.com] Sent: Thursday, January 17, 2013 2:56 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to include Web Application folder inside MSI Hi, I am trying to do a Web Application Setup with VS2010 and WIX, it is working ok, but the only thing I want to improve is when you buiild the Setup project it places the Web Application output in a separete folder inside the bin folder, so if I want to install that Web in a server I need to copy the msi file + web application Folder. Is there any way of building the Setup Project to include that folder inside the msi package?? Here is my .wixproj file: ?xml version=1.0 encoding=utf-8? Project ToolsVersion=4.0 DefaultTargets=Build xmlns=http://schemas.microsoft.com/developer/msbuild/2003;http://schemas.microsoft.com/developer/msbuild/2003%22%3e PropertyGroup Configuration Condition= '$(Configuration)' == '' Debug/Configuration Platform Condition= '$(Platform)' == '' x86/Platform ProductVersion3.7/ProductVersion ProjectGuid{7bc848bd-4069-429e-847e-4f964a148362}/ProjectGuid SchemaVersion2.0/SchemaVersion OutputNameTgw.WebClient.Goodyear.Setup/OutputName OutputTypePackage/OutputType WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath SccProjectNameSAK/SccProjectName SccProviderSAK/SccProvider SccAuxPathSAK/SccAuxPath SccLocalPathSAK/SccLocalPath /PropertyGroup PropertyGroup Condition= '$(Configuration)|$(Platform)' == 'Debug|x86' OutputPathbin\$(Configuration)\/OutputPath IntermediateOutputPathobj\$(Configuration)\/IntermediateOutputPath DefineConstantsDebug/DefineConstants /PropertyGroup PropertyGroup Condition= '$(Configuration)|$(Platform)' == 'Release|x86' OutputPathbin\$(Configuration)\/OutputPath IntermediateOutputPathobj\$(Configuration)\/IntermediateOutputPath /PropertyGroup ItemGroup Compile Include=MainConfiguration.wxs / Compile Include=Tgw.WebClient.Standalone.Web.wxs / Compile Include=WIXUI_Screens.wxs / /ItemGroup ItemGroup EmbeddedResource Include=Resources\Strings.wxl / /ItemGroup ItemGroup ProjectReference Include=..\..\Standalone\Source\Tgw.WebClient.Standalone.Web\Tgw.WebClient.Standalone.Web.csproj NameTgw.WebClient.Standalone.Web/Name Project{f50a4ff0-6878-4a27-bce7-4956d1ae27db}/Project PrivateTrue/Private DoNotHarvestTrue/DoNotHarvest RefProjectOutputGroups /RefProjectOutputGroups RefTargetDirTARGETINSTALLDIRECTORY/RefTargetDir WebProjectTrue/WebProject /ProjectReference /ItemGroup ItemGroup WixExtension Include=WixNetFxExtension HintPath$(WixExtDir)\WixNetFxExtension.dll/HintPath NameWixNetFxExtension/Name /WixExtension WixExtension Include=WixIIsExtension HintPath$(WixExtDir)\WixIIsExtension.dll/HintPath NameWixIIsExtension/Name /WixExtension WixExtension Include=WixUtilExtension HintPath$(WixExtDir)\WixUtilExtension.dll/HintPath NameWixUtilExtension/Name /WixExtension WixExtension Include=WixUIExtension HintPath$(WixExtDir)\WixUIExtension.dll/HintPath NameWixUIExtension/Name /WixExtension /ItemGroup ItemGroup Content Include=Configuration\Conditions.wxi / Content Include=Configuration\Settings.wxi / Content Include=Resources\CommanderApp_32.ico / Content Include=Scripts\CreateWebApplicationConfigFiles.ps1 / /ItemGroup ItemGroup Folder Include=Configuration / Folder Include=Scripts / Folder Include=Resources / /ItemGroup Import Project=$(WixTargetsPath) / Import Project=$(WixTargetsPath) / Target Name=BeforeBuild MSBuild Projects=%(ProjectReference.FullPath) Targets=Package Properties=Configuration=$(Configuration);Platform=AnyCPU Condition='%(ProjectReference.WebProject)'=='True' / PropertyGroup LinkerBaseInputPaths%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\/LinkerBaseInputPaths DefineConstantsBasePath=%(ProjectReference.RootDir)%(ProjectReference.Directory);/DefineConstants /PropertyGroup HeatDirectory OutputFile=%(ProjectReference.Filename).wxs Directory=%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\ DirectoryRefId=TARGETINSTALLDIRECTORY ComponentGroupName=%(ProjectReference.Filename)_Project AutogenerateGuids=true SuppressCom=true
Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events
For a given installer, open it in Orca and look at the appropriate table. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 3:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where can I find a complete list of all the InstallUISequence and InstallExecuteSequence, and the order in which they occur? I'm having trouble figuring out where to put my dialogs in the installation sequence when I don't even know the possibilities. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events
The Wix documentation under InstallExecuteSequence and InstallUISequence has a very comprehensive list. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 3:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where can I find a complete list of all the InstallUISequence and InstallExecuteSequence, and the order in which they occur? I'm having trouble figuring out where to put my dialogs in the installation sequence when I don't even know the possibilities. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events
C:\Program Files (x86)\Windows Installer XML v3.5\doc\Wix.chm (substitute the appropriate path for the version of Wix you have installed). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 4:14 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where, specifically? Can you please provide a link? If it does exist, I haven't been able to find it, somehow. Thanks. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: January 18, 2013 16:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events The Wix documentation under InstallExecuteSequence and InstallUISequence has a very comprehensive list. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 3:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where can I find a complete list of all the InstallUISequence and InstallExecuteSequence, and the order in which they occur? I'm having trouble figuring out where to put my dialogs in the installation sequence when I don't even know the possibilities. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events
Wix Schema References - Wix Schema - InstallExecuteSequence|InstallUISequence -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 4:29 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Of course, but where in there specifically? Perhaps point it in the online documentation if possible: http://wix.sourceforge.net/manual-wix3/main.htm -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: January 18, 2013 17:21 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events C:\Program Files (x86)\Windows Installer XML v3.5\doc\Wix.chm (substitute the appropriate path for the version of Wix you have installed). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 4:14 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where, specifically? Can you please provide a link? If it does exist, I haven't been able to find it, somehow. Thanks. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: January 18, 2013 16:51 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events The Wix documentation under InstallExecuteSequence and InstallUISequence has a very comprehensive list. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: The Ouizard [mailto:the.ouiz...@gmail.com] Sent: Friday, January 18, 2013 3:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] List of all InstallUISequence InstallExecuteSequence actions/events Where can I find a complete list of all the InstallUISequence and InstallExecuteSequence, and the order in which they occur? I'm having trouble figuring out where to put my dialogs in the installation sequence when I don't even know the possibilities. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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. -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 ___ 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
Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers
Yes, I can see that. I've started instrumenting my custom actions to make that possible. Always something to learn. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Saturday, January 19, 2013 12:31 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Hello - are you aware of test mutations?Kindly assist me with some answers On 11-Jan-13 10:31, John Cooper wrote: I generally want my immediate custom actions to behave the same in install, reinstall or upgrade. Depends on what they do, naturally. I generally block the running of immediate custom actions in uninstall if I don't need them. I don't block them, but if there's nothing to do, they do nothing. That's how the MSI actions work; note that almost none of them have default conditions. Fault states, especially for things that use the ServerManager() constructor, might be very interesting. At the least, it lets you verify rollback on a granular level. -- sig://boB http://joyofsetup.com/ -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Moving from Web Deploy to Wix
Using the existing ZIP deprives you of one of the key benefits of the Windows Installer Service--that it manages the files you install. All but a handful of my installers deploy web services. Basically, you install the files to the point in the file tree you want them, and then setup the virtual directories, application pool, and web application from there. Then write any changes you need to make to your local web.config. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, January 21, 2013 12:56 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Moving from Web Deploy to Wix We currently have an IIS Web Service that is deployed using Web Deploy (with binaries in a zip file, and other xml files). I am trying to figure out how best to change this to an MSI using Wix. So far, I haven't found any good example on how best to do this. Is there some good way I can utilize the existing zip file with WiX, or do I have to change the build and work with individual files? Thanks, George -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Look in the assemblies in the runtime (ILDASM will work). If there are any .NET 4.5 dependencies, it will be a no-go on anything before Windows 7. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, January 25, 2013 11:07 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom actions failing on XP Sorry, haven't read the whole thread Didn't I read somewhere that VS2012 C++ doesn't support Windows XP? http://stackoverflow.com/questions/13492056/vs2012-c-dll-compatability From: Natalie Carr natalie.c...@measuresoft.com Sent: Friday, January 25, 2013 4:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom actions failing on XP
Well, looking in the installer log on my laptop, it looks like it requires VersionNt = 5.1 and ServicePackLevel = 2). Based on that, the x86 version should support install on XP with SP2 or SP3. The binaries do not appear to be managed code, so I don't think .NET 4.5 is an issue. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: John Cooper Sent: Friday, January 25, 2013 11:16 AM To: chr...@iswix.com; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom actions failing on XP Look in the assemblies in the runtime (ILDASM will work). If there are any .NET 4.5 dependencies, it will be a no-go on anything before Windows 7. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Friday, January 25, 2013 11:07 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom actions failing on XP Sorry, haven't read the whole thread Didn't I read somewhere that VS2012 C++ doesn't support Windows XP? http://stackoverflow.com/questions/13492056/vs2012-c-dll-compatability From: Natalie Carr natalie.c...@measuresoft.com Sent: Friday, January 25, 2013 4:39 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom actions failing on XP Hi along with my wix installer I have a dll created using the C++ custom action project. However on running my setup on XP the custom actions are all returning value 3 and failing. I believe they are not even getting entered as the logs don't show them being initialized. I need help asap as I have to resolve this quickly. Anyone any ideas what could be wrong? Please I am using VS2012 if that could be the issue. Kind Regards, Natalie Carr -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step
Re: [WiX-users] Best way to choose Windows Auth vs. SQL Auth
Yes, we do it in a very similar way. We just treat the status of IntegratedSecurity as another component of building a valid connection string. As part of the dialog process, the UI visible bits (server/instance, Authentication Type, and User and Password (if SQL Authentication)), are passed to a custom action which reassembles them against a template of the default connection string. This is then passed to a second custom action which sets a property based on whether an actual connection can be made using the built connection string. If a connection can be made, the user is moved on to the next dialog, and ultimately the database deployment custom actions are run using the generated connection string. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Monday, January 28, 2013 1:46 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Best way to choose Windows Auth vs. SQL Auth I do this by presenting a dialog to the user and they can choose which option they want. I then have a single action on the back end that sets up the correct ADO.Net connection string based on the users choices. By doing this you are not duplicating code, you just have a minor detour is SQL authentication is selected as that requires a few more option in the connection string. Mat Skildum -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, January 28, 2013 1:22 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Best way to choose Windows Auth vs. SQL Auth I need to create a database, and let user choose Windows Auth or SQL Auth. It looks like you could do it with two different components, and two separate conditions, but that doesn't seem very elegant and creates duplicate code. I see old threads such as this that seem like a better solution, but I don't know if it's ever been implemented. http://www.mail-archive.com/wix-devs@lists.sourceforge.net/msg01154.html Anyone has example on the current (and elegant) way to choose the SQL authentication mode? How do I create a null util:user? -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Use WiX with TFSBuild without installing WiX on buildmachine?
Another way to do it would be to generate a NuGet package. If there is interest in this, I could help create such a package. (I make quite a few for internal use--just haven't done it to Wix). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, January 28, 2013 12:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Use WiX with TFSBuild without installing WiX on buildmachine? The WiX.chm has documentation how to check the WiX toolset into your source control for your build system using the binaries.zip file. -Original Message- From: DexterSinister [mailto:dma...@nt4hire.com] Sent: Monday, January 28, 2013 10:47 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Use WiX with TFSBuild without installing WiX on buildmachine? Just like the subject line says ... We've got a couple of dozen installers that build with a variety of versions of WiX [haven't had time to update all of them to v3.7] ... and we're moving all of our packaging builds to TFSBuild from a variety of methods [older TFSBuild scripts, batch files, etc.] ... What is the best way to be able to use a specific version of WiX for a specific package build without having to install WiX on the buildmachine or having a specific buildmachine tied to a specific version of WiX ? Thanks in advance for any assistance, -dmm -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Use-WiX-with-TFSBuild-without-installing-WiX-on-buildmachine-tp7583184.html Sent from the wix-users mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Speed vs Stability: Large numbers of Components
One way would be to designate one file as the KeyPath file, and make the other files CompanionFile's of the KeyPath file. Effectively, the version of the KeyPath file becomes the version of all of its CompanionFile's. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Wesley Manning [mailto:wmann...@dynagen.ca] Sent: Wednesday, January 30, 2013 8:25 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Speed vs Stability: Large numbers of Components Hi Neil, You said: I also forced a version number for each file to ensure that if I had to perform an upgrade the file would be overwritten REGARDLESS if it had changed forcing integrity of the application. How did you do this? Wes -Original Message- From: Neil Hayes [mailto:neil.ha...@syspro.com] Sent: January-30-13 2:04 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Speed vs Stability: Large numbers of Components I'm in a similar situation with close to 30,000 files to deploy of which perhaps 50 - 100 are DLL's, EXE, OCX etc. I've ended up grouping files together in a component, (with the exception of DLL's etc) sometimes up to 5,000 or 6,000 in one component. I also forced a version number for each file to ensure that if I had to perform an upgrade the file would be overwritten REGARDLESS if it had changed forcing integrity of the application. I've also disabled the repair option from ARP, but allow Repair from 'Change' and modified the ReinstallMode to anus. In my situation these deployed files are not updated by the application and should not be modified by the customer. If they have been modified by the customer I need the repair to restore the install back to deployment status. I would like to know the 'optimal' amount of files that should be contained in 1 component. As much as I'd love to give each file a unique component, filling the registry with 30,000 GUIDS just seems crazy. Neil -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] (no subject)
What sort of error? I use util:PermissionEx extensively to set permissions on certain files. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Chaitanya [mailto:chaita...@pointcross.com] Sent: Monday, February 11, 2013 3:31 AM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] (no subject) Hi, I want to Set Permissions to Files. When i use Util:PermissionEx it is throwing error I can able to set Permission to folders. Like that i want to set permissions to Files. Thank You, -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WIX MSBuild Issue
Yes, I suspect the timestamps are tweaked during signing--I've never been able to get signing to work right except in an AfterBuild target at or near the end of the run. How do you link in your features. We use a wixlib for each feature, link it into the main install build, and then sign everything. I handle six features this way in one of my install builds. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, February 27, 2013 6:13 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX MSBuild Issue WiX toolset just uses MSBuild. What does MSBuild say about the rebuilt ProjectReference? Why did the project think it need to be rebuilt? (maybe signing confused the projects so they think the .exe is out of date)? It is always possible something is wrong on the WiX.targets side but MSBuild should say why... On Wed, Feb 27, 2013 at 3:41 PM, Terry terrymc...@urbanehounds.com wrote: Our team is using WIX to generate Fragments and an Installer package. Today, we have two Configurations that we build during our TFS build. First, we build a Release configuration so that we can digitally sign the output for inclusion into the Installer file. Second, the installer is built during the Deployment Configuration. We have put each of our features into Fragments and used Project References to point back to the actual location of the artifacts we want to include for that fragment. The fragments are then included in one MSI installer file. The installer package CABs all of the files and includes them inside the final MSI. The issue we are seeing is that during our Deployment configuration build any project that is contained in the Project Reference for the Fragment is getting built again overwriting the digital signature. We dug into it a see that it is using Wix2010.targets during the MSBuild process. In addition, the Build Order and Project Dependecies have nothing in them for each of the Fragment projects. Is this the expected behavior? We have a pretty large build process that encompasses many project so changing signing to a post build event wouldn't be possible so I need a way to ensure that the signed version of the binary isn't overwritten. Thanks Terry -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] sql ce deployment
There's an important gotcha. The 64-bit SQL CE assemblies are just thunks for the 32-bit pieces. This means installing the 32-bit assemblies is sufficient on a 32-bit platform, but both need to be installed to work on a 64-bit platform. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Thursday, February 28, 2013 5:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] sql ce deployment Classification: Public Hi Sean, We deploy Microsoft SQL Server Compact 3.5 SP2 with our product. I am deploying it within burn and yes there is a MSI (two one for 32/64 bit) Here is how I am doing it: MsiPackage Id=SQLCompactx86 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x86-ENU.msi Name=RedistTMC\SSCERuntime_x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=SQLCompactx64 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x64-ENU.msi Name=RedistTMC\SSCERuntime_x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ Go to Microsoft Download Center to get the MSI's Steve -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: February-28-13 4:00 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] sql ce deployment Hi, I am considering using Sql ce for my next project that will require a local database. Has anyone done any deployment with this using burn/is thee an msi available to deploy the necessary redistributable bits? Any help appreciated. Regards Sean. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This message has been marked as Public by Steven Ogilvie on February-28-13 6:03:42 PM. The above classification labels were added to the message by TITUS Message Classification. Visit www.titus.com for more information. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] setupbld.exe
Basically, you're going to have to modify the source code in setupexe.cpp by commenting out the lines that setup CONFIGURE_ACTION_REINSTALL and CONFIGURE_ACTION_MINOR_UPGRADE and compile your own custom setup.exe. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Karkare,Aparna [mailto:akark...@travelers.com] Sent: Monday, March 25, 2013 5:03 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] setupbld.exe Hello, We are generating the msi using wix. Then we are creating executable using setbld.exe which internally calls the msi. While installing, double clicking the msi and exe produce same set of dialog as exe is basically calling msi so we can install using either of these two. But when the application is installed and we double click on msi again, we get dialog to repair or remove the application which we do not get on double clicking exe. How can we get an option to uninstall from exe generated using setupbld.exe? Thanks for the help. Regards, Aparna Karkare (O) +91-80 6624 3681 == This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ 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. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn slow install
I've had the same experience with Windows 7, but the explanation seems pretty clear--setting the System Restore Point (by the OS) can take several minutes. I've even added ProgressText to warn of this, but it is plain from the logs that a lot of time is spent churning waiting for the OS to save a System Restore Point. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Michael Ogilvie [mailto:michael.ogil...@pixelink.com] Sent: Thursday, April 11, 2013 9:24 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Burn slow install On one of our Vista test boxes I am getting a very slow install [0640:0DCC][2013-03-25T11:40:31]i299: Plan complete, result: 0x0 [0640:0DCC][2013-03-25T11:40:31]i300: Apply begin [0640:0B60][2013-03-25T11:40:34]e000: Error 0x8007006e: Failed to load version check XML document. [0CBC:086C][2013-03-25T11:46:44]w308: Automatic updates could not be paused due to error: 0x80080005. Continuing... Seems to be stuck for 6min before providing an error. Thank you, Michael Ogilvie -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion
Interesting problem: One of our products uses the System.Management.Automation.dll assembly from AppFabric 2.0. It has AssemblyVersion 1.0.0.0 and AssemblyFileVersion 6.1.7600.16385. The System.Management.Automation.dll assembly that appears to come with AppFabric 2.1 or PowerShell v3.0 has AssemblyVersion 3.0.0.0 but no AssemblyFileVersion. I observe that I can set the DefaultVersion on this assembly in the File element and it takes. Since I may be called upon to upgrade the old assembly with the new one to support Server 2012 in the near future, what is the best practice to deal with this animal? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com/ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion
Can I mitigate the effect on Repair by enabling checksums and having the install forcibly verify them? I'm sure my managers will be trigger their Microsoft support contracts, but I have to deal with it. Installing in a different location will require significant code changes as this thing hangs out in one of the AppPools of two of our major products. I suppose we could create a local name for the SAM, strong name link against that, and do the renaming game. -- john M. Cooper -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, April 11, 2013 2:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion Wow, that's beginner mistake. Get them to fix the file version or rename the file. Or you can install to a new location (which essentially renames the file). DefaultVersion basic lies to the Windows Installer and it will never be certain the file that is on disk is the right one (because the one on disk will have no version...). It'll work in upgrade, repair and such may prompt for source a lot more. Wow, bad form. On Thu, Apr 11, 2013 at 12:11 PM, John Cooper jocoo...@jackhenry.comwrote: Interesting problem: One of our products uses the System.Management.Automation.dll assembly from AppFabric 2.0. It has AssemblyVersion 1.0.0.0 and AssemblyFileVersion 6.1.7600.16385. The System.Management.Automation.dll assembly that appears to come with AppFabric 2.1 or PowerShell v3.0 has AssemblyVersion 3.0.0.0 but no AssemblyFileVersion. I observe that I can set the DefaultVersion on this assembly in the File element and it takes. Since I may be called upon to upgrade the old assembly with the new one to support Server 2012 in the near future, what is the best practice to deal with this animal? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com/ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion
Meanwhile, I can confirm that PowerShell v3.0 and WMF 3.0 both installs this assembly. Errata on the AppFabric references. That should be AppFabric 1.0 and 1.1 respectively. ADFS 2.1 uses an assembly, Microsoft.IdentityServer.Powershell.dll, which is linked against this System.Management.Automation.dll. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: John Cooper Sent: Thursday, April 11, 2013 3:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion Can I mitigate the effect on Repair by enabling checksums and having the install forcibly verify them? I'm sure my managers will be trigger their Microsoft support contracts, but I have to deal with it. Installing in a different location will require significant code changes as this thing hangs out in one of the AppPools of two of our major products. I suppose we could create a local name for the SAM, strong name link against that, and do the renaming game. -- john M. Cooper -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, April 11, 2013 2:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] What to do with an Assembly that doesn't have an AssemblyFileVersion Wow, that's beginner mistake. Get them to fix the file version or rename the file. Or you can install to a new location (which essentially renames the file). DefaultVersion basic lies to the Windows Installer and it will never be certain the file that is on disk is the right one (because the one on disk will have no version...). It'll work in upgrade, repair and such may prompt for source a lot more. Wow, bad form. On Thu, Apr 11, 2013 at 12:11 PM, John Cooper jocoo...@jackhenry.comwrote: Interesting problem: One of our products uses the System.Management.Automation.dll assembly from AppFabric 2.0. It has AssemblyVersion 1.0.0.0 and AssemblyFileVersion 6.1.7600.16385. The System.Management.Automation.dll assembly that appears to come with AppFabric 2.1 or PowerShell v3.0 has AssemblyVersion 3.0.0.0 but no AssemblyFileVersion. I observe that I can set the DefaultVersion on this assembly in the File element and it takes. Since I may be called upon to upgrade the old assembly with the new one to support Server 2012 in the near future, what is the best practice to deal with this animal? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com/ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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
[WiX-users] Plans to update the POWERSHELLVERSION Property in PS Ext
I've got a product that now has a dependency on PowerShell version 3.0. The POWERSHELLVERSION property in the PS extension only probes the v1/v2 location. Are there plans to either add a POWERSHELLVERSION3 property or otherwise extend detection of installed PowerShell to include PowerShell v3? The code would look something like this: Fragment Property Id=POWERSHELLVERSION3 Secure=yes RegistrySearch Id=PowerShellVersion3Search Root=HKLM Key=SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine Name=PowerShellVersion Type=raw / /Property /Fragment -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Plans to update the POWERSHELLVERSION Property in PS Ext
Sure. I'll contribute it. -- John M. Cooper -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Monday, April 22, 2013 11:29 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Plans to update the POWERSHELLVERSION Property in PS Ext If someone contributes it, yes. Want to send a pull request against wix38 with that? On Mon, Apr 22, 2013 at 9:05 AM, John Cooper jocoo...@jackhenry.com wrote: I've got a product that now has a dependency on PowerShell version 3.0. The POWERSHELLVERSION property in the PS extension only probes the v1/v2 location. Are there plans to either add a POWERSHELLVERSION3 property or otherwise extend detection of installed PowerShell to include PowerShell v3? The code would look something like this: Fragment Property Id=POWERSHELLVERSION3 Secure=yes RegistrySearch Id=PowerShellVersion3Search Root=HKLM Key=SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine Name=PowerShellVersion Type=raw / /Property /Fragment -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action triggered from Support Directory
The preferred method I like to use is to: 1) carry around my binary dependencies for a custom action in the Binary Table; 2) deploy them and set them up with a preparatory custom action in a sub-bolder of the TEMP tree; 3) run the custom action itself from inside that sub-folder; 4) clean up the binaries and files after a successful run (so I don't leave anything behind for a security exploit); This is the technique I use for both my VsdbCmd custom actions and my SqlPackage custom actions which have dependencies on the vsdbcmd.exe family and the sqlpackage.exe family respectively. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, April 22, 2013 2:47 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Custom Action triggered from Support Directory Burn would support this, via Payload elements. In 3.8, the current directory is set to the folder for the payload when the Package is being executed. -Original Message- From: TimM [mailto:timmay...@smarttech.com] Sent: Monday, April 22, 2013 1:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action triggered from Support Directory Hello, We are converting over one of our InstallShield install project to WiX and would like to know if WiX has a install support folder? Our InstallShield project has a custom action that calls an app that requires 5 files to be in the same folder so that the custom action works. These files are not installed and therefore are simply ran from the Support folder. So on converting this over to WiX I was not able to find reference to an install support folder. So my question is does WiX create and use a Support folder to run custom actions that require main file and dependency/support files to be within that folder? If this is not supported then we'll have to look at either creating a custom action to install the files, trigger the main custom actions, and then when complete remove those files/folder. Or simply install the custom action files into subfolder and remove them all during uninstall. Thanks, Tim. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-triggered-from-Support-Directory-tp7585344.html Sent from the wix-users mailing list archive at Nabble.com. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to Setup a Burn Installer to Upgrade a Setup.exe Boostrapped Installer with the Same MSI UpgradeCode
I'm migrating the development branch of one of my products from Wix 3.5 and setup.exe to Wix 3.6 and Burn. I'm having an issue getting the upgrade story to work. The upgrade code in both MSI's is the same. The later MSI by itself upgrades the earlier product no problem. But when I run the Burn bootstrapper, it removes the underlying product without replacing it with the upgrade product. The relevant portion of the Burn log is: [05BC:0BF8][2013-04-28T13:03:04]: Condition 'Installed' evaluates to false. [05BC:0BF8][2013-04-28T13:03:04]: Detected related bundle: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, type: Upgrade, scope: PerMachine, version: 7.0.127.0, operation: MajorUpgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: MajorUpgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: Downgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected package: jXchange, state: Obsolete, cached: None [05BC:0BF8][2013-04-28T13:03:04]: Detect complete, result: 0x0 [05BC:0BF8][2013-04-28T13:03:10]: Plan 1 packages, action: Install [05BC:0BF8][2013-04-28T13:03:10]: Planned package: jXchange, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [05BC:0BF8][2013-04-28T13:03:10]: Planned related bundle: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None [05BC:0BF8][2013-04-28T13:03:10]: Plan complete, result: 0x0 [05BC:0BF8][2013-04-28T13:03:10]: Apply begin [1658:0F2C][2013-04-28T13:03:10]: Creating a system restore point. [1658:0F2C][2013-04-28T13:03:10]: System restore disabled, system restore point not created. [1658:0F2C][2013-04-28T13:03:10]: Caching bundle from: 'C:\Users\james_h\AppData\Local\Temp\2\{86b66844-1fb8-432c-8c2d-8e79cc1b9406}\.be\jXchange64.13.0.exe' to: 'C:\ProgramData\Package Cache\{86b66844-1fb8-432c-8c2d-8e79cc1b9406}\jXchange64.13.0.exe' [1658:0F2C][2013-04-28T13:03:11]: Registering bundle dependency provider: {86b66844-1fb8-432c-8c2d-8e79cc1b9406}, version: 7.0.129.0 [1658:0F2C][2013-04-28T13:03:11]: Applying execute package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, action: Uninstall, path: C:\ProgramData\Package Cache\{9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}\jXchange64.13.0.exe, arguments: 'C:\ProgramData\Package Cache\{9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}\jXchange64.13.0.exe -uninstall -quiet -burn.related.upgrade' [1658:0F2C][2013-04-28T13:03:45]: Removed package dependency provider: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3} [05BC:0BF8][2013-04-28T13:03:45]: Applied execute package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, result: 0x0, restart: None [05BC:0BF8][2013-04-28T13:03:45]: Apply complete, result: 0x0, restart: None, ba requested restart: No [05BC:0BF8][2013-04-28T13:03:53]: Shutting down, exit code: 0x0 -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com/ 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. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to Setup a Burn Installer to Upgrade a Setup.exe Boostrapped Installer with the Same MSI UpgradeCode
There is only a single MsiPackage element in the chain--the one to be installed: Chain !--PackageGroupRef Id=Netfx45Full / PackageGroupRef Id=Netfx35Full / RollbackBoundary /-- MsiPackage Id=jXchange Compressed=yes SourceFile=$(var.jXchangeWix.TargetPath) DisplayInternalUI=yes MsiProperty Name=INSTALLLOCATION Value=[InstallFolder] / MsiProperty Name=NETFRAMEWORK45 Value=[NetFramework45] / /MsiPackage /Chain -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: Monday, April 29, 2013 9:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to Setup a Burn Installer to Upgrade a Setup.exe Boostrapped Installer with the Same MSI UpgradeCode [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: MajorUpgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: Downgrade Seems a bit off. How are you referring to the package(s) in the bundle? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, April 29, 2013 8:52 AM To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] How to Setup a Burn Installer to Upgrade a Setup.exe Boostrapped Installer with the Same MSI UpgradeCode I'm migrating the development branch of one of my products from Wix 3.5 and setup.exe to Wix 3.6 and Burn. I'm having an issue getting the upgrade story to work. The upgrade code in both MSI's is the same. The later MSI by itself upgrades the earlier product no problem. But when I run the Burn bootstrapper, it removes the underlying product without replacing it with the upgrade product. The relevant portion of the Burn log is: [05BC:0BF8][2013-04-28T13:03:04]: Condition 'Installed' evaluates to false. [05BC:0BF8][2013-04-28T13:03:04]: Detected related bundle: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, type: Upgrade, scope: PerMachine, version: 7.0.127.0, operation: MajorUpgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: MajorUpgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected related package: {B892ABD4-6B9B-432A-8B31-D849CBEA6969}, scope: PerMachine, version: 7.0.127.0, language: 0 operation: Downgrade [05BC:0BF8][2013-04-28T13:03:04]: Detected package: jXchange, state: Obsolete, cached: None [05BC:0BF8][2013-04-28T13:03:04]: Detect complete, result: 0x0 [05BC:0BF8][2013-04-28T13:03:10]: Plan 1 packages, action: Install [05BC:0BF8][2013-04-28T13:03:10]: Planned package: jXchange, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: None [05BC:0BF8][2013-04-28T13:03:10]: Planned related bundle: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None [05BC:0BF8][2013-04-28T13:03:10]: Plan complete, result: 0x0 [05BC:0BF8][2013-04-28T13:03:10]: Apply begin [1658:0F2C][2013-04-28T13:03:10]: Creating a system restore point. [1658:0F2C][2013-04-28T13:03:10]: System restore disabled, system restore point not created. [1658:0F2C][2013-04-28T13:03:10]: Caching bundle from: 'C:\Users\james_h\AppData\Local\Temp\2\{86b66844-1fb8-432c-8c2d-8e79cc1b9406}\.be\jXchange64.13.0.exe' to: 'C:\ProgramData\Package Cache\{86b66844-1fb8-432c-8c2d-8e79cc1b9406}\jXchange64.13.0.exe' [1658:0F2C][2013-04-28T13:03:11]: Registering bundle dependency provider: {86b66844-1fb8-432c-8c2d-8e79cc1b9406}, version: 7.0.129.0 [1658:0F2C][2013-04-28T13:03:11]: Applying execute package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, action: Uninstall, path: C:\ProgramData\Package Cache\{9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}\jXchange64.13.0.exe, arguments: 'C:\ProgramData\Package Cache\{9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}\jXchange64.13.0.exe -uninstall -quiet -burn.related.upgrade' [1658:0F2C][2013-04-28T13:03:45]: Removed package dependency provider: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3} [05BC:0BF8][2013-04-28T13:03:45]: Applied execute package: {9b8f9d4b-3634-4519-9a78-9e7b5ccc42f3}, result: 0x0, restart: None [05BC:0BF8][2013-04-28T13:03:45]: Apply complete, result: 0x0, restart: None, ba requested restart: No [05BC:0BF8][2013-04-28T13:03:53]: Shutting down, exit code: 0x0 -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee
Re: [WiX-users] Extract Binary file from MSI C++
The guts of my code to do this looks like: using (View binaryTable = session.Database.OpenView(ParameterizedBinaryQuery)) { // Execute the parameterized query (id is substituted for '?') // to get the binary record using (Record idRecord = new Record(id)) { binaryTable.Execute(idRecord); } using (Record binaryRow = binaryTable.Fetch()) { if (binaryRow == null || binaryRow.IsNull(2)) { throw new InstallerException(Binary Id + id + not found in the Binary table.); } else { binaryRow.GetStream(2, filepath); } } } -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: TimM [mailto:timmay...@smarttech.com] Sent: Tuesday, April 30, 2013 8:52 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Extract Binary file from MSI C++ Natalie, I have basically the same task where we have about 5 files within the binary table that need to be extracted so that we can trigger a custom actions that depends on all 5 files existing in the same folder. So I would like to know if you have this working correctly and if so would you be able to supply your solution? Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Extract-Binary-file-from-MSI-C-tp7582039p7585498.html Sent from the wix-users mailing list archive at Nabble.com. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ 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. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Extract Binary file from MSI C++
Yes, they get bound in. My case is to support stuff that I want to be different from installer to installer. Also, there are runtime special cases like SqlPackage deployment where you may need to copy a special DACPAC into the deployment directory based on the version of the SQL Server on the remote deploy. I also understand that my sample is C#, but the principal--load the appropriate ID from the Binary Table, load the absolute path you want the file to appear as, and then getting the file from the table--remains the same. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Tuesday, April 30, 2013 9:32 AM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Extract Binary file from MSI C++ C#/DTF custom actions have a really nice story to support this without writing a lick of code. You just add the files to the MSBuild project as Type: Content Action: Copy Always and they will show up in the current directory at execution time. I wonder how much work it would be to get the C++ CA projects to support this also. From: TimM timmay...@smarttech.com Sent: Tuesday, April 30, 2013 8:58 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Extract Binary file from MSI C++ Natalie, I have basically the same task where we have about 5 files within the binary table that need to be extracted so that we can trigger a custom actions that depends on all 5 files existing in the same folder. So I would like to know if you have this working correctly and if so would you be able to supply your solution? Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Extract-Binary -file-from-MSI-C-tp7582039p7585498.html Sent from the wix-users mailing list archive at Nabble.com. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ 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. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] add files with heat
In general, it would be better to use the HeatDirectory / element. For example: EnableProjectHarvestingTrue/EnableProjectHarvesting Target Name=BeforeBuild HeatDirectory ToolPath=$(WIX)bin\ Directory=..\Folder PreprocessorVariable=var.DatabaseDir OutputFile=$(ProjectDir)..\wxsfolder\NameofyourGroup .wxs GenerateGuidsNow=true ComponentGroupName=NameofyourGroup DirectoryRefId=INSTALLLOCATION SuppressRootDirectory=true / /Target -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Jeremiahf [mailto:jeremi...@gmail.com] Sent: Friday, May 03, 2013 10:33 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] add files with heat In visual studio under build you need to define a preprocessor variable that points to the location of the root directory. Example: DatabaseDir=..\Folder. Then under build events you need to write a Pre-build Event command line to have heat generate the wxs file every time you make a build. Example: $(WIX)bin\heat.exe dir $(ProjectDir)..\Folder -dr INSTALLLOCATION -cg NameofyourGroup -gg -sf -srd -var var.DatabaseDir -out $(ProjectDir)..\wxsfolder\NameofyourGroup .wxs. Hope this is what you were looking for. J On Fri, May 3, 2013 at 6:03 AM, Victor Mukherjee victo...@insync.co.inwrote: Hi, I was looking for a way to add files from multiple directories with HeatDirectory element. Also, I would like to know if there is a way to append the fragment generated by HeatDirectory to an existing .wxs file. Regards, Victor Mukherjee -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- They may forget what you said but they will never forget how you made them feel. -- Anonymous -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ 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. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is is possible to change default database port?
You can pass the server/instance pair to the Server attribute. I've never tried this with SqlDatabase, but can you pass the server/instance,port? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, May 13, 2013 12:16 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Is is possible to change default database port? Default SQL Database IP port is 1443. Is it possible to change this value? I don't see any port attribute in the SqlDatabase element of Wix. George -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is it possible to change default database port?
Yes, server,port/instance or server,port would be correct. Got it out of sequence in my last post. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Edwin Castro [mailto:egca...@gmail.com] Sent: Monday, May 13, 2013 1:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is is possible to change default database port? On Mon, May 13, 2013 at 11:20 AM, John Cooper jocoo...@jackhenry.comwrote: You can pass the server/instance pair to the Server attribute. I've never tried this with SqlDatabase, but can you pass the server/instance,port? I would expect server,port to work as well. -- Edwin G. Castro -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is is possible to change default database port?
It is the standard practice for deployment to our farms. The Browse port is firewalled off and the service disabled. We deploy to FQDN server name, a non-standard port name, and one of two instance names. In operations, deployment where we can browse the instance or use the default port is the exception. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, May 13, 2013 3:36 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is is possible to change default database port? 1443 is not the instance database port it is the SQL browser port, I believe this is always the same. You can specify the instance port as part of the connection string (e.g. Data Source=(local)\INSTNAME12345 where 12345 is the port) but it is rarely required. Neil -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: 13 May 2013 18:16 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Is is possible to change default database port? Default SQL Database IP port is 1443. Is it possible to change this value? I don't see any port attribute in the SqlDatabase element of Wix. George -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Is it possible to change default database port?
That is true, but for UI-related reasons it is easier for my products to handle it as server,port\instance. Splitting would require some extra work. That being said, I only have one product that uses SqlDatabase, SqlScript, and SqlString to deploy its database. The rest use VsdbCmd or SqlPackage. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, May 13, 2013 6:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is it possible to change default database port? Wix already has a separate instance attribute. So for Server attribute, specify server,port? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Monday, May 13, 2013 1:33 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is it possible to change default database port? Yes, server,port/instance or server,port would be correct. Got it out of sequence in my last post. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Edwin Castro [mailto:egca...@gmail.com] Sent: Monday, May 13, 2013 1:43 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Is is possible to change default database port? On Mon, May 13, 2013 at 11:20 AM, John Cooper jocoo...@jackhenry.comwrote: You can pass the server/instance pair to the Server attribute. I've never tried this with SqlDatabase, but can you pass the server/instance,port? I would expect server,port to work as well. -- Edwin G. Castro -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d
Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed
There's an undocumented NETFRAMEWORK45 Property in the NetFX extension in Wix 3.6 that does the business. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed Here is what I use: util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes / PackageGroup Id=Netfx45 ExePackage Id=Netfx45 Cache=no Compressed=yes PerMachine=yes Protocol=netfx4 Permanent=yes Vital=yes InstallCommand=/norestart /passive /showrmui SourceFile=dotNetFx45_Full_setup.exe DetectCondition=(Netfx4FullVersion=quot;4.5.50709quot;) AND (NOT VersionNT64 OR (Netfx4x64FullVersion=quot;4.5.50709quot;)) InstallCondition=(VersionNT = v6.0 OR VersionNT64 = v6.0) AND (NOT (Netfx4FullVersion=quot;4.5.50709quot; OR Netfx4x64FullVersion=quot;4.5.50709quot;))/ Chain PackageGroupRef Id=Netfx45/ ... /Chain Note the /passive /showrmui in the installcommand: This will prompt the user to close .Net applications to avoid a reboot. Hope this helps, Nick -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 3:59 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed I have a Burn setup with managed UI in WPF so I need to install The net framework 4 as prerequisite for the installer and my application, but as in the Net Framework 4.5 there are some usefull fix, I want to install the net framework 4.5 if possible.I'd like to make this: 1 - On WIndows XP - I want to Install Net Framework 4.0 as prerequisite for Burn setup.2 - On Windows 7-8 and no Net Framework 4.0 installed - I want to install Net Framework 4.5 as prerequisite for the Burn setup.3 - On Windows 7-8 and with Net Framework 4.0 installed - I want to install Net Framework 4.5 with the burn UI, (not as a prerequisite) Now I was able only to set Net Framework as prerequisite for the Burn setup, and only with Windows 7-8 I install even the Net Framework 4.5 during Burn setup.This way works, but if I want to install on a Windows 7-8 system with no Net Framework 4.0 installed I have to Install Net Framework 4.0 as prerequisite for the setup then I have to install the Net Framework 4.5 inside the Burn setup chain. I'd like to skip the installing of the Net Framework 4.0 and install only the Net Framework 4.5 Is there any way for doing this? -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your
Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed
It is possible, but there will be a lot of edge cases. It may be better to simplify. What does your application really need? It sounds like it needs .NET Frame 4.0. If that's the case, .NET 4.5 is a superset and will satisfy the need for 4.0 in most cases. In which case, you'd be better off with just a dependency on .NET 4.0. Things only really get tricky when you've got to work with assemblies like Microsoft.IdentyModel.dll which was not in .NET 4.0 but is present in .NET 4.5 AND requires and additional assembly, System.IdentityModel.dll. Although we tried and tried to make something deployable on both Server 2008 R2 and Server 2012 with the .NET 3.5 version of Microsoft.IdentityModel.dll, in the end, we will support only .NET 4.5--just too much of a mess. -- John M. Cooper -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 4:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed The NetFX extension make the trick but it work with a web based installation of the Net Framework, so if you want to install the full version without douwnloading it while running the setup you have to add the net framework by yourself as posted by Nick.I use exactly this fragment of code, but this doesn't answer my question.I can install the Net framework without problems. But the question is.I have set the net framework 4.0 as prerequisite for the Burn setup. but if I run the setup on a Windows 7 machine with no framework 4.0 and no framework 4.5, I want to set the Net framework 4.5 as prerequisite instead of the 4.0.Any idea if is it possible to do? From: jocoo...@jackhenry.com To: wix-users@lists.sourceforge.net Date: Thu, 16 May 2013 20:35:32 + Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed There's an undocumented NETFRAMEWORK45 Property in the NetFX extension in Wix 3.6 that does the business. -- 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: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed Here is what I use: util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes / PackageGroup Id=Netfx45 ExePackage Id=Netfx45 Cache=no Compressed=yes PerMachine=yes Protocol=netfx4 Permanent=yes Vital=yes InstallCommand=/norestart /passive /showrmui SourceFile=dotNetFx45_Full_setup.exe DetectCondition=(Netfx4FullVersion=quot;4.5.50709quot;) AND (NOT VersionNT64 OR (Netfx4x64FullVersion=quot;4.5.50709quot;)) InstallCondition=(VersionNT = v6.0 OR VersionNT64 = v6.0) AND (NOT (Netfx4FullVersion=quot;4.5.50709quot; OR Netfx4x64FullVersion=quot;4.5.50709quot;))/ Chain PackageGroupRef Id=Netfx45/ ... /Chain Note the /passive /showrmui in the installcommand: This will prompt the user to close .Net applications to avoid a reboot. Hope this helps, Nick -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 3:59 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed I have a Burn setup with managed UI in WPF so I need to install The net framework 4 as prerequisite for the installer and my application, but as in the Net Framework 4.5 there are some usefull fix, I want to install the net framework 4.5 if possible.I'd like to make this: 1 - On WIndows XP - I want to Install Net Framework 4.0 as prerequisite for Burn setup.2 - On Windows 7-8 and no Net Framework 4.0 installed - I want to install Net Framework 4.5 as prerequisite for the Burn setup.3 - On Windows 7-8 and with Net Framework 4.0 installed - I want to install Net Framework 4.5 with the burn UI, (not as a prerequisite) Now I was able only to set Net Framework as prerequisite for the Burn setup, and only with Windows 7-8 I install even the Net Framework 4.5 during Burn setup.This way works, but if I want to install on a Windows 7-8 system with no Net Framework 4.0 installed I have to Install Net Framework 4.0 as prerequisite for the setup then I have to install the Net Framework 4.5 inside the Burn setup chain. I'd like to skip the
Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6
Use an immediate custom action that runs just after AppSearch to load the file, process the XPATH, and load the appropriate MSI property with the value. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Marty Offe [mailto:marty.o...@harlandfs.com] Sent: Thursday, May 16, 2013 4:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to read a value from an xml app config file using WIX 3.6 How can I read a value from an application's xml config file and present the value in a dialog? Scenario: During an install a dialog prompts the user for a port number. That port number is written to an application config file using the WIXUtilExtension XmlFile custom action element. During an upgrade install, I would prefer that the dialog present the port number which was read from the application config file. Thanks, Marty Offe -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6
You need to write one. As custom actions go, it's not hard. I would recommend a table-driven approach. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Marty Offe [mailto:marty.o...@harlandfs.com] Sent: Friday, May 17, 2013 12:17 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6 Which custom action do I use to read the value from the XML app config file? Marty Offe Sr. Software Developer Harland Financial Solutions Portland, OR 503-274-7280 x2376 www.harlandfinancialsolutions.com -Original Message- From: Sharon Pierson [mailto:sharon.pier...@netiq.com] Sent: Friday, May 17, 2013 5:59 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] how to read a value from an xml app config file using WIX 3.6 If this is a major upgrade, you can add another custom action that reads the value from this file and sets a property in the installer that your dialog can use for displaying to the user. The new custom action would have a condition that makes it run only during upgrade. -Original Message- From: Marty Offe [mailto:marty.o...@harlandfs.com] Sent: Thursday, May 16, 2013 4:58 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to read a value from an xml app config file using WIX 3.6 How can I read a value from an application's xml config file and present the value in a dialog? Scenario: During an install a dialog prompts the user for a port number. That port number is written to an application config file using the WIXUtilExtension XmlFile custom action element. During an upgrade install, I would prefer that the dialog present the port number which was read from the application config file. Thanks, Marty Offe -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed
Then you'll want to stay with .NET 4.0. Writing (and supporting) diverging product versions is going to be a headache. Microsoft designed .NET 4.5 to force you off .NET 4.0 and support for all those beloved legacy platforms (like XP). The IdentityModel assemblies are just the tip of the iceberg. I would recommend either adopting .NET 4.5 and jettisoning support for earlier platforms xor staying with .NET 4.0 and supporting legacy platforms. But your architecture decisions are you own. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 5:30 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed In this case you can't install on Windows XP.I need to preserve the WIndows XP compatibility and build only one setup for Windows XP and Windows 7 From: nmil...@livetechnology.com To: wix-users@lists.sourceforge.net Date: Thu, 16 May 2013 22:08:12 + Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed I ran into a similar situation, and in the end, I too just set 4.5 as the prerequisite for my installer. -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Thursday, May 16, 2013 6:04 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed It is possible, but there will be a lot of edge cases. It may be better to simplify. What does your application really need? It sounds like it needs .NET Frame 4.0. If that's the case, .NET 4.5 is a superset and will satisfy the need for 4.0 in most cases. In which case, you'd be better off with just a dependency on .NET 4.0. Things only really get tricky when you've got to work with assemblies like Microsoft.IdentyModel.dll which was not in .NET 4.0 but is present in .NET 4.5 AND requires and additional assembly, System.IdentityModel.dll. Although we tried and tried to make something deployable on both Server 2008 R2 and Server 2012 with the .NET 3.5 version of Microsoft.IdentityModel.dll, in the end, we will support only .NET 4.5--just too much of a mess. -- John M. Cooper -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Thursday, May 16, 2013 4:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed The NetFX extension make the trick but it work with a web based installation of the Net Framework, so if you want to install the full version without douwnloading it while running the setup you have to add the net framework by yourself as posted by Nick.I use exactly this fragment of code, but this doesn't answer my question.I can install the Net framework without problems. But the question is.I have set the net framework 4.0 as prerequisite for the Burn setup. but if I run the setup on a Windows 7 machine with no framework 4.0 and no framework 4.5, I want to set the Net framework 4.5 as prerequisite instead of the 4.0.Any idea if is it possible to do? From: jocoo...@jackhenry.com To: wix-users@lists.sourceforge.net Date: Thu, 16 May 2013 20:35:32 + Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed There's an undocumented NETFRAMEWORK45 Property in the NetFX extension in Wix 3.6 that does the business. -- 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: Nick Miller [mailto:nmil...@livetechnology.com] Sent: Thursday, May 16, 2013 3:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Install Net Framework 4.5 as prerequisite only if on windows 7-8 and not installed Here is what I use: util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes / PackageGroup Id=Netfx45 ExePackage Id=Netfx45 Cache=no Compressed=yes PerMachine=yes Protocol=netfx4 Permanent=yes Vital=yes InstallCommand=/norestart /passive /showrmui SourceFile=dotNetFx45_Full_setup.exe DetectCondition=(Netfx4FullVersion=quot
Re: [WiX-users] Getting install path from Wix Custom Action
First off, scheduling. The values of Directory properties (including one like INSTALLDIR), aren't going to be meaningful until after CostFinalize. Since you're running in the InstallExecSequence after InstallFiles, that's not it. However, you should be able to resolve INSTALLDIR like any other public property. If session[INSTALLDIR] resolves to nothing, I'm thinking you haven't saved/restored this property. Is this running in a Repair or Upgrade? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Freedman, Mark P. [mailto:mark.freed...@jhuapl.edu] Sent: Monday, May 20, 2013 11:30 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Getting install path from Wix Custom Action I have a custom action and am trying to access the Install Directory, or Target path (the base folder that the user chooses to install to). Within my Action, I tried pulling it from Session. TARGETDIR maps to C:\, despite installing it to program files, and INSTALLDIR yields empty stirng. What am I missing? I also tried passing the INSTALLDIR in the CustomAction tag with the Directory attribute, but it comes back saying that it can't be something in brackets. [CustomAction] public static ActionResult SetEfxZlibLibrary(Session session) { session.Log(Begin CA); string installDirectory = session[INSTALLDIR]; // } ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?include Includes.wxi ? Fragment CustomAction Id='SetEfxZlibLibraryAction' BinaryKey='CustomActionBinary' DllEntry='SetEfxZlibLibrary' Execute='immediate' Return='check'/ Binary Id=CustomActionBinary SourceFile=$(var.CustomInstallActionsFile)/ /Fragment /Wix Thanks, Mark Freedman -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Delete folders files only on Uninstall
No. You need to read in the Util schema. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: chennam [mailto:chatrapathi.chen...@gmail.com] Sent: Monday, May 20, 2013 1:53 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Delete folders files only on Uninstall Is it same as RemoveFolder? I searched for RemoveFoldersEX but couldn't find on WIX CHM of 3.7 Thanks Chatra -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Delete-folders-files-only-on-Uninstall-tp7585988p7586018.html Sent from the wix-users mailing list archive at Nabble.com. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ 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. -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Quick help..
It is very bad practice not to have the install registered with Add/Remove programs. I would adamantly recommend against it. That being said, see the documentation for ARPSYSTEMCOMPONENT property. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Mamidi, Balasubrahmanyam [mailto:balu.mam...@flightsafety.com] Sent: Tuesday, May 21, 2013 2:22 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Quick help.. Hi, I am creating many MSI files using wix installer. when installed MSI file it will put the file in Add/Remove programs. My client asking, stop adding to Add/Remove programs. Any one help how to stop adding to Add/Remove programs in Control panel? Balu Mamidi * Software Developer FlightSafety International * Courseware Support * 4660 Diplomacy. * Fort Worth, TX 76155 Tel: 817.554.7179 balasubrahmanyam.mam...@flightsafety.commailto:balasubrahmanyam.mam...@flightsafety.com * www.flightsafety.comhttp://www.flightsafety.com/ * A Berkshire Hathaway company -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Quick help..
It's just like setting any other property default: Property Id= ARPSYSTEMCOMPONENT Value=1 / This will put it in the Property Table with a value of 1. (assuming the Fragment it's in gets linked into the installer). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Mamidi, Balasubrahmanyam [mailto:balu.mam...@flightsafety.com] Sent: Tuesday, May 21, 2013 2:41 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Quick help.. I am just month old to WIX, can you provide syntax? Please.. -Original Message- From: Markus Wehrle [mailto:mar...@laika42.com] Sent: Tuesday, May 21, 2013 2:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Quick help.. Just set Arpsystemcomponent propersty to 1 and the MSI will not be shown. Am 21.05.2013 um 21:22 schrieb Mamidi, Balasubrahmanyam balu.mam...@flightsafety.com: Hi, I am creating many MSI files using wix installer. when installed MSI file it will put the file in Add/Remove programs. My client asking, stop adding to Add/Remove programs. Any one help how to stop adding to Add/Remove programs in Control panel? Balu Mamidi * Software Developer FlightSafety International * Courseware Support * 4660 Diplomacy. * Fort Worth, TX 76155 Tel: 817.554.7179 balasubrahmanyam.mam...@flightsafety.commailto:balasubrahmanyam.mamid i...@flightsafety.com * www.flightsafety.comhttp://www.flightsafety.com/ * A Berkshire Hathaway company -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Create Web app pool and Site on on Server 2008 R2 with IIS 7.5, WiX 3.7
Well, for your website to be created, it needs to be in a component: Fragment ?include ConfigurationInitialize.wxi ? iis:WebSite Id=CoreWebservicesV3 Description='CoreWebservicesV3' Since your iis:WebSite element is outside of a component, it serves only as a locator and the site is not created. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: chennam [mailto:chatrapathi.chen...@gmail.com] Sent: Thursday, May 30, 2013 11:49 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Create Web app pool and Site on on Server 2008 R2 with IIS 7.5, WiX 3.7 Hi, I was trying to create the Site and App-pool. The site folder getting created on [INSTALLLOCATION] Whcih was passed through command line and webapp is getting installed. But When I go and look in inetmgr site getting created on Default Website and not as separate site and WebApp-pool getting created as required but not gets removed on Uninstall. Please let me know where I am doing Wrong. Here is the code. Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=CoreWebservicesV3 Directory Id=WEBSITE Name=$(var.CWSProductVersion) / /Directory /Directory /Directory Feature Id=MainContent Title=CoreWebservices Website Description=The CWS website content Level=1 * ComponentGroupRef Id=MyWebIssConfiguration /* ComponentGroupRef Id=CoreWebservices / /Feature *ComponentGroup Id=MyWebIssConfiguration ComponentRef Id=MyWebVirtualDirCmp / ComponentRef Id=MyWebAppPoolCmp / /ComponentGroup* /***/ Fragment ?include ConfigurationInitialize.wxi ? iis:WebSite Id=CoreWebservicesV3 Description='CoreWebservicesV3' Directory='INSTALLLOCATION' iis:WebAddress Id=AllUnassigned Port=80 / /iis:WebSite DirectoryRef Id=INSTALLLOCATION Component Id=MyWebAppPoolCmp Guid= KeyPath=yes util:User Id=MyWebAppPoolUser CreateUser=no Name=[IDENTITY_NAME] Password=[IDENTITY_PWD] RemoveOnUninstall=yes Domain=[IDENTITY_DOMAIN] / iis:WebAppPool Id=CWSWebAppPool Name=CoreWebservicesV3 ManagedRuntimeVersion=v4.0 ManagedPipelineMode=Integrated Identity=other User=MyWebAppPoolUser iis:RecycleTime Value=00:00/ /iis:WebAppPool /Component Component Id=MyWebVirtualDirCmp Guid={751DEB01-ECC1-48ff-869A-65BCEE9E0528} KeyPath=yes iis:WebVirtualDir Id=MyWebVirtualDir Alias=CoreWebservicesV3 Directory=INSTALLLOCATION WebSite=CoreWebservicesV3 iis:WebDirProperties Id=MyWebVirtDirProperties AnonymousAccess=no BasicAuthentication=no WindowsAuthentication=yes / iis:WebApplication Id=MyWebWebApplication Name=CoreWebservicesV3 / /iis:WebVirtualDir /Component /DirectoryRef Thanks in Advance Chatra -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-Web-app-pool-and-Site-on-on-Server-2008-R2-with-IIS-7-5-WiX-3-7-tp7586215.html Sent from the wix-users mailing list archive at Nabble.com. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ 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
Re: [WiX-users] Including UtilExtension a Fragment
Do you have the Util extension added as a reference to your Burn project? -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: Thursday, May 30, 2013 2:27 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Including UtilExtension a Fragment I can't figure out why Candle doesn't seem to find the RegistrySearch element in the util namespace, as it throws this error: Fragment element contains an unhandled extension element 'util:RegistrySearch'. Please ensure that the extension for elements in the 'http://schemas.microsoft. com/wix/UtilExtension' namespace has been provided. Maybe I'm not using the Fragment as it is intended? Any advice would be appreciated. This is what my source looks like: Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; Fragment util:RegistrySearch Id=Java7FamilyVersion Root=HKLM Key=SOFTWARE\JavaSoft\Java Runtime Environment Value=Java7FamilyVersion Variable=Java7FamilyVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\JavaSoft\Java Runtime Environment\[Java7FamilyVersion]\MSI Value=PRODUCTVERSION Variable=JavaProductVersion After=Java7FamilyVersion Condition=Java7FamilyVersion / PackageGroup Id=Java7Runtime ExePackage Id=Java7Runtime DisplayName=Java Runtime Version 7 Cache=no Compressed=yes PerMachine=yes Permanent=yes Vital=yes Name=lib\jre-7u21-windows-i586.exe SourceFile=\lib\jre-7u21-windows-i586.exe InstallCommand=/s ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 JU=0 SYSTRAY=0 AUTOUPDATECHECK=0 REBOOT=Suppress /L*v quot;[WixBundleLog_Java7Runtime]quot; DetectCondition=Java7FamilyVersion AND (JavaProductVersion gt;= v7.0.210) /ExePackage /PackageGroup /Fragment Product... Alain -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: May 30, 2013 14:17 To: 'Neil Sleightholm' Subject: RE: [WiX-users] Download and install Java Oh interesting, so I don't even need to define WixBundleLog_Java7Runtime? Another issue: candle couldn't recognise the util prefix for the util:RegistrySearch elements, so I added xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; to my top-level Wix element, but I'm now getting the following candle error: Fragment element contains an unhandled extension element 'util:RegistrySearch'. Please ensure that the extension for elements in the 'http://schemas.microsoft. com/wix/UtilExtension' namespace has been provided. Any idea what I might be missing? Alain -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: May 30, 2013 14:03 To: afor...@cmu.edu Subject: RE: [WiX-users] Download and install Java Yes WixBundleLog_Java7Runtime is the log file, WiX creates this variable for you and is WixBundleLog with your ExePackage/@Id appended e.g. %temp%\YouBundleName_20130430071941_0_Java7Runtime.log. Neil -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: 30 May 2013 18:50 To: Neil Sleightholm; 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Download and install Java A perfect, I understand now, thanks. And I assume [WixBundleLog_Java7Runtime] is the location you want the Java installer log to output. Alain -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: May 30, 2013 13:43 To: afor...@cmu.edu; 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Download and install Java 1.7.0_21 is not a normal version number that WiX can compare so that is why I need the two stage search, the first one gets the registry key and then once you have that you can search for the proper version number in the MSI sub key. Specifying v7.0.210 in the comparison makes WiX treat what follows the v as a version number so the comparison is actually 7.0.210 = 7.0.210 which is true. (Version comparison breaks the version string in to its component parts and compares each part.) Neil -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: 30 May 2013 18:20 To: Neil Sleightholm; 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Download and install Java Cool, I think we'll go with this approach. Comparing what's in my registry with
Re: [WiX-users] Wix dev and regular dev best practices
If it doesn't get built, it won't get tested. Period. Dev's have a tendency to consider installer building a waste of time (they always think they can do it better with a 3rd-party zip lib and some sort of XML config document) until it's one week before beta and suddenly you need to shake the bugs out of code that should've been tested since the beginning of the iteration six months prior. Push back HARD on any suggestion that building the installer is expendable. It's one of Wix's greatest strengths, and the installer is the first view a consumer will get of your product. If it isn't a good impression, it will have disproportionate impact. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Drake, David [mailto:david.dr...@wizards.com] Sent: Friday, May 31, 2013 1:39 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix dev and regular dev best practices Albert, Do you require your regular code writing devs to install Wix on their boxes so they don't get errors opening the wixproj files in the main solution, or do you keep the .wixproj files off in their own little solution so the devs don't notice? Also, do your devs handle the installers, or does someone other than the main app coders do that? Thanks, ~David -Original Message- From: Albert van Peppen [mailto:alb...@insad.nl] Sent: Thursday, May 30, 2013 23:52 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix dev and regular dev best practices We use a lot of (VS) Project Property Sheets. For WiX we have defined several property sheets for this. Our solution gives us the possibility to change the location where WixTools are etc. This way we can easily switch between WiX versions as well (assuming the schema, on what we use, hasn't been broken) Just my 2 ct ;) Best regards, Albert van Peppen -Oorspronkelijk bericht- Van: John Ludlow [mailto:john.ludlow...@gmail.com] Verzonden: 30 May 2013 17:06 Aan: General discussion for Windows Installer XML toolset. Onderwerp: Re: [WiX-users] Wix dev and regular dev best practices @Mark: Yep, that's what we've gone with, but we had issues getting the right set of properties to set up the paths properly because there's a number of cascading properties. Also, we had issues in that we have to do this with every .wixproj. (I guess we might create a customized .wixproj which has those changes already) Thanks On 30 May 2013 15:28, Freedman, Mark P. mark.freed...@jhuapl.edu wrote: I've recently added WiX to my continuous integration server, Team City. They key is to not have to install stuff on the build machines. WiX includes the install binaries that can be put right in your source tree. However the binaries do not include the files necessary for Custom Actions (CAs), so I had to include some extra files that come with the standard WiX developer install. http://wix.codeplex.com/releases/view/99514 Then, update your .wixproj projects to point to the relative path to your wix binaries. See the Wix tags in PropertyGroup. PropertyGroup Configuration Condition= '$(Configuration)' == '' Debug/Configuration Platform Condition= '$(Platform)' == '' x86/Platform ProductVersion3.7/ProductVersion ProjectGuidz/ProjectGuid SchemaVersion2.0/SchemaVersion OutputNameMy Installer/OutputName OutputTypePackage/OutputType WixToolPath..\..\InstallTools\wix\3.7.1224.0\/WixToolPath WixTargetsPath$(WixToolPath)Wix.targets/WixTargetsPath WixTasksPathwixtasks.dll/WixTasksPath /PropertyGroup If you're doing bootstrappers prerequisites with the GenerateBootstrapper command, you can do something similar in your project's bootstrapper to redirect them to a relative path so that the build machine doesn't need to have Visual Studio installed, or whatever puts them in the default Microsoft SDK package. GenerateBootstrapper ApplicationFile=MyInstaller.msi ApplicationName=My App BootstrapperItems=@(BootstrapperFile) ComponentsLocation=Relative CopyComponents=True OutputPath=$(OutputPath) Path=..\..\Bootstrapper / Mark Freedman -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Thursday, May 30, 2013 5:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix dev and regular dev best practices We're looking at simply making WiX part of the toolkit you need to build our solutions. We've tried this with some smaller projects and it's worked really well. Developers can follow up on their own impacts, and they can tell when they've broken the install. This increases build quality and frees up install developers from the add a file, remove a file monkey-work we seem to spend 80%
Re: [WiX-users] Burn and Wixlibs
Links or wixlibs. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Wheeler, Blaine (DSHS/DCS) [mailto:bwhee...@dshs.wa.gov] Sent: Friday, May 31, 2013 4:39 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Burn and Wixlibs We have about 20 fragments with MSIPackages or EXEPackages in them. I need to build several Bundles that have some of these Fragments in common. How can I refer to them without actually having to add the wxs fragments to each Bundle project. It would be handy to have 1 solution, with all of the Bundles and references to the fragments. Can VS2010 reference .wxs files as fragments ? Example: Frag1.wxs Frag2.wxs Frag3.wxs Bundle1 has Frag1.wxs, Frag2.wxs, and Frag3.wxs Bundle2 has Frag1.wxs and Frag3 Blaine Wheeler Department of Social and Health Services Project Coordinator SEMS Operations 360.664.5416 blaine.whee...@dshs.wa.gov -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ 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. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn and Wixlibs
Correct. That was my meaning of link--using VS to add the file to multiple projects (although this can be done to the proj file directly if you know your MsBuild syntax. -- John Merryweather Cooper Build Install Engineer – ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, May 31, 2013 11:34 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn and Wixlibs I think by link John means using a link in Visual Studio to add the file to multiple projects. Personally, I would use a Library .wixproj to build reusable chunks which is John's second suggestion. On Fri, May 31, 2013 at 3:02 PM, Wheeler, Blaine (DSHS/DCS) bwhee...@dshs.wa.gov wrote: By link you mean specify the .wxs files on the candle command line? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Friday, May 31, 2013 2:48 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn and Wixlibs Links or wixlibs. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Wheeler, Blaine (DSHS/DCS) [mailto:bwhee...@dshs.wa.gov] Sent: Friday, May 31, 2013 4:39 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Burn and Wixlibs We have about 20 fragments with MSIPackages or EXEPackages in them. I need to build several Bundles that have some of these Fragments in common. How can I refer to them without actually having to add the wxs fragments to each Bundle project. It would be handy to have 1 solution, with all of the Bundles and references to the fragments. Can VS2010 reference .wxs files as fragments ? Example: Frag1.wxs Frag2.wxs Frag3.wxs Bundle1 has Frag1.wxs, Frag2.wxs, and Frag3.wxs Bundle2 has Frag1.wxs and Frag3 Blaine Wheeler Department of Social and Health Services Project Coordinator SEMS Operations 360.664.5416 blaine.whee...@dshs.wa.gov -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ 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. -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ 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
Re: [WiX-users] Clear property value on uninstall
Properties are not persisted. You need to have authoring to do this. Generally, there is a Registry component to save the information to the registry, and a RegistrySearch to recover it. Rob even has a blog on persist patterns although the URL escapes me at the moment. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: chennam [mailto:chatrapathi.chen...@gmail.com] Sent: Wednesday, June 05, 2013 9:30 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Clear property value on uninstall Hi, I am making my Installer to Install into specific folder location instead of Programfiles using a Property INSTALLLOCATION. Ans I pass its value through command line during Installation. MSI (c) (18:98) [08:04:53:170]: PROPERTY CHANGE: Adding INSTALLLOCATION property. Its value is 'D:\Websites\CBUDirectUAT'. But When I Installed previously version of MSI on same machine the INSTALLOCATION property value was set to 'D:\Websites\CBUDirectUATAlt1' . Now I uninstalled previous version from (ARP) and installing the new version with new property value for INSTALLLOCATION='D:\Websites\CBUDirectUAT'. But the installer is installing into same old location D:\Websites\CBUDirectUATAlt1 instead of new one. See below for log the new version MSI is changing the INSTALLLOCATION property value to old one even though I passed new one. Action 8:04:53: AppSearch. Searching for installed applications Action start 8:04:53: AppSearch. AppSearch: Property: INSTALLLOCATION, Signature: REMEMBERPROPERTY MSI (c) (18:98) [08:04:53:248]: Note: 1: 2262 2: Signature 3: -2147287038 MSI (c) (18:98) [08:04:53:248]: PROPERTY CHANGE: Modifying INSTALLLOCATION property. Its current value is 'D:\Websites\CBUDirectUAT'. Its new value: 'D:\Websites\CBUDirectUATAlt1\'. Action ended 8:04:53: AppSearch. Return value 1. I am Bit urgency with UAT. Can any one please help me to fix it and how to clear previous property one after uninstall. See below How i am saving the INSTALLLOCATION and help me out any statement need to be added to it Product Property Id=INSTALLLOCATION RegistrySearch Id=REMEMBERPROPERTY Root=HKCU Key=Websites\CBUDirect Name=Remembered Type=raw/ /Property CustomAction Id=SAVEINSTALLDIR Property=CMDREMEMBERPROPERTY Value=[INSTALLLOCATION]/ CustomAction Id=SETINSTALLDIR Property=INSTALLLOCATION Value=[CMDREMEMBERPROPERTY] / InstallExecuteSequence Custom Action=SAVEINSTALLDIR Before=AppSearch/Custom Custom Action=SETINSTALLDIR After=AppSearchCMDREMEMBERPROPERTY/Custom /InstallExecuteSequence Property Id=WIXUI_INSTALLDIR Value=INSTALLLOCATION / Feature Id=ProductFeature Title=CBUDirectMSI Level=1 Display=expand ConfigurableDirectory=INSTALLLOCATION Component Directory=INSTALLLOCATION RegistryValue Root=HKCU Key=Websites\CBUDirect Name=Remembered Value=[INSTALLLOCATION] Type=string / RemoveFolder Id=CleanApplicationFolder On=uninstall/ /Component Feature Id=MainContent Title=CBU Website Description=The CBU website content Level=1 ComponentGroupRef Id=CBUDirect / /Feature /Feature CustomActionRef Id='SAVEINSTALLDIR' / /Product Fragment Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=INSTALLLOCATION Name=CBUDirect Directory Id=WEBSITE Name=Website/ /Directory /Directory /Directory /Fragment -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Clear-property-value-on-uninstall-tp7586377.html Sent from the wix-users mailing list archive at Nabble.com. -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ 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
Re: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008
The log got stripped off. I've installed Wix 3.6 on quite a few Server 2008 R2 boxes (all but two of my build servers, developer boxes, and one of my two boxes--all Server 2008 R2). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Mustapha Kone [mailto:mustaph...@yahoo.com] Sent: Wednesday, June 05, 2013 2:14 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008 Greetings to all, I am having issues installing wix 3.6 and 3.7 on windows server 2008 sp2. I have attached the log file created by the installer Mustapha D. Kone MCTS NoWay is MyWay NoLimit is MyLimit Only thing I Know is learning 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. -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008
Are you connected to the internet from this location? Wix 3.6/3.7 use Burn bootstrappers with download a lot of the installable components. If you have no inet, nothing is going to get downloaded and the install will fail. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com/ From: Mustapha Kone [mailto:mustaph...@yahoo.com] Sent: Wednesday, June 05, 2013 2:37 PM To: John Cooper; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008 Thanks for the prompt reply, here is the errors found in the log file: [12BC:12A4][2013-06-02T09:51:33]e000: Error 0x80004005: Failed to extract all files from container. [12BC:0424][2013-06-02T09:51:33]e000: Error 0x80004005: Faild to begin and wait for operation. [12BC:0424][2013-06-02T09:51:33]e000: Error 0x80004005: Failed to extract payload: a6 from container: WixAttachedContainer [12BC:0424][2013-06-02T09:51:33]e312: Failed to extract payloads from container: WixAttachedContainer to working path: C:\Users\mustapha\AppData\Local\Temp\{963ac4b4-a882-4471-8db9-c4adc7b42dc4}\8F7EFB8EFC2E582E09F9B1E3C8B64EA7714C036F, error: 0x80004005. [12BC:0C80][2013-06-02T09:51:33]e000: Error 0x80004005: Failed while caching, aborting execution. [0BC0:1354][2013-06-02T09:51:33]i330: Removed bundle dependency provider: {963ac4b4-a882-4471-8db9-c4adc7b42dc4} [0BC0:1354][2013-06-02T09:51:33]i352: Removing cached bundle: {963ac4b4-a882-4471-8db9-c4adc7b42dc4}, from path: C:\ProgramData\Package Cache\{963ac4b4-a882-4471-8db9-c4adc7b42dc4}\ [12BC:0C80][2013-06-02T09:51:33]i399: Apply complete, result: 0x80004005, restart: None, ba requested restart: No [12BC:0C80][2013-06-02T09:52:28]i500: Shutting down, exit code: 0x80004005 Mustapha D. Kone MCTS NoWay is MyWay NoLimit is MyLimit Only thing I Know is learning From: John Cooper jocoo...@jackhenry.commailto:jocoo...@jackhenry.com To: Mustapha Kone mustaph...@yahoo.commailto:mustaph...@yahoo.com; General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net Sent: Wednesday, June 5, 2013 3:27 PM Subject: RE: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008 The log got stripped off. I've installed Wix 3.6 on quite a few Server 2008 R2 boxes (all but two of my build servers, developer boxes, and one of my two boxes--all Server 2008 R2). -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com www.jackhenry.comhttp://www.jackhenry.com -Original Message- From: Mustapha Kone [mailto:mustaph...@yahoo.commailto:mustaph...@yahoo.com] Sent: Wednesday, June 05, 2013 2:14 PM To: wix-users@lists.sourceforge.netmailto:wix-users@lists.sourceforge.net Subject: [WiX-users] unable to install wix 3.6 and 3.7 on windows server 2008 Greetings to all, I am having issues installing wix 3.6 and 3.7 on windows server 2008 sp2. I have attached the log file created by the installer Mustapha D. Kone MCTS NoWay is MyWay NoLimit is MyLimit Only thing I Know is learning 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. 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. -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can we package html files?
Yes. All but one of my installers supports a web-based WCF service. One of these services also deploys a significant amount of HTML, jScript, and CSS. Payload is payload. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Nitin Sharma [mailto:onlynit...@gmail.com] Sent: Thursday, June 13, 2013 1:11 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can we package html files? Hi Experts, My second day using WiX and I ran into this challenge. I have a bunch of html,css and js files (200+) organized in nested folder structure. Is it possible to use wix for packaging these files and then run this setup on another machine to install the same folder structure and files? Your expert guidance will be much appreciated. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
The attachment WixError.txt is really a ZIP file based on the header. Comes through as garbage although it may be recoverable. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Dan Blanchard [mailto:sattvikvi...@gmail.com] Sent: Monday, June 17, 2013 12:08 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Catastrophic failure (Exception from HRESULT: 0x8000 (E_UNEXPECTED)) -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev 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. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] XML File Changes in WIX
Use XmlFile and/or XmlConfig from the Util Extensions. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: chintala srinivas [mailto:chentala.srini...@gmail.com] Sent: Monday, June 17, 2013 1:11 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] XML File Changes in WIX Hi, I am converting my projects from IS to WIX. When I dark the '.msi' the XML File Changes data was converted into Custom Table.../ and it was not working as expected. And when I see the msi from ORCA the ISXML File table also not coming . Can anyone please let me know how to add XML File Changes to wix in a simple way. Regards, Srinivas -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Validation through Visual Studio
On my net, there is GPO active such that two things essential to running validation on my Windows 7 laptop are not met: 1) VBS cannot be run by a build process; 2) the Windows Installer Service cannot be run by a build process. If you're like me, you'll need a waiver from CIS to allow both these things to happen. Otherwise, manually made changes to enable things will be rolled out while you're connected to the corporate network in about 30 seconds. For my laptop and for my latest build VM's, I'm resigned to disabling validation. I don't like it, but I hate pushing upstream. I suspect the same is true for you, too. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Kathy Morey Sent: Monday, July 08, 2013 10:52 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validation through Visual Studio Yes. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Monday, July 08, 2013 11:14 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validation through Visual Studio You are sure that no other MSI transaction is happening at the same time? (group policy, SMS deployment, automated updates, etc.) or even parallel MSI validations? From: kmo...@profitstars.com To: wix-users@lists.sourceforge.net Date: Mon, 8 Jul 2013 14:33:17 + Subject: Re: [WiX-users] Validation through Visual Studio Sorry for the delay in replying - went on vacation. I looked at the reference; my environment block is only 4 Kb. I tried the suggestion a little later in that thread to reduce the size of my Path variable, but I'm still getting the same error (and my environment block is still 4 KB; my Path variable is not that long). Are there any other suggestions? -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Wednesday, June 26, 2013 10:32 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validation through Visual Studio Look for the answer by imagi on this page: http://stackoverflow.com/questions/1064580/wix-3-0-throws-error-217-wh ile-being-executed-by-continuous-integration There was also a bug on Microsoft's Connect but I'm not seeing it right now. From: kmo...@profitstars.com To: wix-users@lists.sourceforge.net Date: Wed, 26 Jun 2013 14:46:31 + Subject: Re: [WiX-users] Validation through Visual Studio Thanks for your reply. How do I use the set command to get the size of the block? I ran it in both pre-and post-build, but I don't know how to tell if what I see is too big or not. What is too big? -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Wednesday, June 26, 2013 1:51 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validation through Visual Studio You could try to confirm it by running a set command in your build to measure the size of your environment block, but it'd guess that is your issue (VS adds to the environment block). I'd need to search again for the reference to the bug to remember what the size limit was. From: kmo...@profitstars.com To: wix-users@lists.sourceforge.net Date: Tue, 25 Jun 2013 19:24:44 + Subject: Re: [WiX-users] Validation through Visual Studio Sorry, let me clarify: the Windows 7 machine is my development machine. I am a local admin, and I can code and compile in .NET, and create and compile WiX projects, etc. from this machine with my company network logon with no other issue. I have run installs, including Visual Studio and SQL Server (and Orca). I couldn't validate through InstallShield after we moved to the Windows 7 machine a while ago, but I thought that was an IS problem, since we are a on an old version (IS 2009). I don't seem to have a problem running the Windows Installer, just validating. Orca tells me that The validation engine could not start. When I compile a WiX project, Visual Studio's message is light.exe(0,0): warning LGHT1105: Validation could not run due to system policy. To eliminate this warning, run the process as admin or suppress ICE validation. I couldn't find much on the Web on that warning, and what I did find talked about setting the DisableMSI system policy. However, Microsoft says On Windows XP, Windows Vista, and Windows 7, the Windows Installer is enabled for all applications. All install operations are allowed. And my registry has this policy set to 0, with is also enabled for all applications. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, June 25, 2013 2:00 PM To: General discussion for Windows
Re: [WiX-users] Resolve Light 1056 Warning
Adding a Name=. attribute to the Directory element will get the . in there. I'll do some experimenting on a toy. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Kathy Morey Sent: Wednesday, July 10, 2013 11:22 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Resolve Light 1056 Warning I am creating a WiX installer for an application that requires some Microsoft merge modules. I'm getting several warnings like: warning LGHT1056: The Directory table contains a row with primary key(s) 'SystemFolder' which cannot be merged from the merge module 'C:\_blah\blah\COMCAT.MSM'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. I looked at the merge module and my MSI with Orca and found this difference in the DefaultDir column of the Directory table: MM DefaultDir - .:System32 My DefaultDir - System32 How do I author my project so that I get the .: designation in the DefaultDir column? Kathy Morey Synergy Software Engineer Profitstars, a Jack Henry Company 700 Tower Drive, Suite 600 Troy MI 48098 Office: 248.879.0316 ext. 454809 Email: kmo...@profitstars.com 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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Resolve Light 1056 Warning
I was able to get the .:System32 by using Directory Id=ExperiementFolder Name=. SourceName=System32 Component Id=ProductComponent Guid=* File KeyPath=yes Source=$(var.SolutionDir).nuget\NuGet.exe / /Component /Directory -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Kathy Morey Sent: Wednesday, July 10, 2013 11:22 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Resolve Light 1056 Warning I am creating a WiX installer for an application that requires some Microsoft merge modules. I'm getting several warnings like: warning LGHT1056: The Directory table contains a row with primary key(s) 'SystemFolder' which cannot be merged from the merge module 'C:\_blah\blah\COMCAT.MSM'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. I looked at the merge module and my MSI with Orca and found this difference in the DefaultDir column of the Directory table: MM DefaultDir - .:System32 My DefaultDir - System32 How do I author my project so that I get the .: designation in the DefaultDir column? Kathy Morey Synergy Software Engineer Profitstars, a Jack Henry Company 700 Tower Drive, Suite 600 Troy MI 48098 Office: 248.879.0316 ext. 454809 Email: kmo...@profitstars.com 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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Resolve Light 1056 Warning
Yes, I really hate merge modules. Wixlibs are much better. Always have issues with merge modules I haven't authored. -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Kathy Morey Sent: Wednesday, July 10, 2013 4:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Resolve Light 1056 Warning FYI It turns out that, although John's suggestion did work, different Microsoft merge modules have different values for some of the standard folders, and so I will be following Rob's suggestion and just ignoring those warnings. Thanks. -Original Message- From: Kathy Morey Sent: Wednesday, July 10, 2013 5:08 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: Resolve Light 1056 Warning Thanks, John. That did it for me. -Original Message- From: John Cooper Sent: Wednesday, July 10, 2013 12:50 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Resolve Light 1056 Warning I was able to get the .:System32 by using Directory Id=ExperiementFolder Name=. SourceName=System32 Component Id=ProductComponent Guid=* File KeyPath=yes Source=$(var.SolutionDir).nuget\NuGet.exe / /Component /Directory -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Kathy Morey Sent: Wednesday, July 10, 2013 11:22 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Resolve Light 1056 Warning I am creating a WiX installer for an application that requires some Microsoft merge modules. I'm getting several warnings like: warning LGHT1056: The Directory table contains a row with primary key(s) 'SystemFolder' which cannot be merged from the merge module 'C:\_blah\blah\COMCAT.MSM'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. I looked at the merge module and my MSI with Orca and found this difference in the DefaultDir column of the Directory table: MM DefaultDir - .:System32 My DefaultDir - System32 How do I author my project so that I get the .: designation in the DefaultDir column? Kathy Morey Synergy Software Engineer Profitstars, a Jack Henry Company 700 Tower Drive, Suite 600 Troy MI 48098 Office: 248.879.0316 ext. 454809 Email: kmo...@profitstars.com 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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/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
Re: [WiX-users] Guidance on WiX and NuGet integration
I also have a short article on how to write NuGet packages for application to Wixproj Wix project files at my blog at: http://borgsdemons.com/blog/2013/06/13/wix-and-nuget-creating-nuget-packages-to-deploy-wix-wixlibs-and-msbuild-tool-task-assemblies-to-wix-wixprojs/ -- John Merryweather Cooper Build Install Engineer - ESA Jack Henry Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: andy smith [mailto:andysmi...@gmail.com] Sent: Thursday, July 11, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Guidance on WiX and NuGet integration That's really helpful Wilbert, thanks. To be honest I hadn't got my head round the fact that it was really only for developers. I've now got an example project pulling down the packages from an external private feed and being compiled by the build so can now get on with the wix part! :) On Wed, Jul 10, 2013 at 12:02 PM, Wilbert van Dolleweerd wilb...@arentheym.com wrote: NuGet is simply meant as package management for a developer. For example: instead of having to download and install Nunit to be able to use in their Visual Studio solution, they can simply add a NuGet package to their solution. See the following link for some more background information: http://www.hanselman.com/blog/IntroducingNuGetPackageManagementForNETA notherPieceOfTheWebStack.aspx Some pointers: - I would integrate NuGet in your CI build. NuGet has the ability to modify the project file to automatically download a NuGet package (if needed) when building the project. - You could also create your own NuGet server. If you download the NuGet package from your supplier, you could add it to your own NuGet server. This way you don't have to deal with authentication. - You could create a MSI that packages only the new NuGet package bits. - If the NuGet package is updated, simply add a new version to your own server (see above). NuGet also has the ability to NOT automatically update to a new version, but stick to a specific version. This way, you control when to update. Kind regards, Wilbert van Dolleweerd http://gplus.to/WilbertVanDolleweerd On Wed, Jul 10, 2013 at 12:19 PM, andy smith andysmi...@gmail.com wrote: I'm really confused by where NuGet fits in with a WiX deployment (which you can guess by the questions at the end...) Currently we're really happy with our WiX (3.6) setup (smile)... Our TeamCity build creates the installers using Burn and Neils burn UI customisations for our WinForms products that are FTP'd to our servers. The apps call our web services to determine whether there is a later version that it's entitled to, and if so downloads it in the background so that's it's ready to be installed the next time the app starts. Now I need to include some functionality that is included into our c# solution via a nugget package. The package will not be required by 90% of our client installations due to the specific functionality in the package, so presumably will need it's own msi. The nugget package in question isn't ours, and resides on one of our suppliers servers and requires authentication to get hold of. I'm somehow new to the world of NuGet, and cannot get my head round where it fits in with WiX... - Do I somehow include the nugget package as part of the CI build and include it within the WiX installer so it's not downloaded from the suppliers site (this would resolve the authentication issue)? - Do I create a new MSI which includes the components within the Nuget package, but not actually use NuGet for the final client deployment at all? (This would solve a number of issues but would potentially need work each time the NuGet package is updated ) - Do I create a headless MSI package which downloads separately as part of the burn install? Clients won't be able to enter the authentication required as they won't have it. - If the nugget package is installed during installation, and always get the latest available presumably our install may fail at a later date if the nugget package is updated by the supplier which breaks our install somehow. Is there a way around this if the NuGet package is downloaded on the client? Many thanks, Confused! -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.c lktrk ___ WiX-users mailing list
Re: [WiX-users] Chaining MSIs together
Burn is meant to provide this functionality, but it is under developed. There are plenty of chaining/bootstrapping products out there in the meantime. One I like is DotNetInstaller: http://dotnetinstaller.codeplex.com/ . You could use this to install the prerequisite Adobe AIR, if necessary, and then your product. -- John M. Cooper -Original Message- From: Kevin MacDonald [mailto:kevinmacdon...@gmail.com] Sent: Thursday, May 12, 2011 4:25 PM To: wix-users Subject: [WiX-users] Chaining MSIs together Hello, I have an existing installer that I wrote in NSIS that does several things. It installs the Adobe AIR runtime by invoking an executable provided by Adobe. It then installs our AIR application, again using installation utilities provided by Adobe. And finally, it installs media which our AIR application knows where to find. This all works great. However, some of our clients require a single MSI file so that they can do multiple installations from a central location. I started playing with Wix in order to do this. However, I have encountered the problem where it does not seem to be possible to chain MSIs together. I was able to kinda get it working by having a custom action invoke the AIR runtime installer using the code below: CustomAction Id='InstallAIRRuntimeAction' FileKey='file_AIRInstaller_0' ExeCommand='-silent' Return='asyncNoWait' / InstallExecuteSequence Custom Action='InstallAIRRuntimeAction' After='InstallFinalize'NOT Installed/Custom /InstallExecuteSequence This works because the enclosing MSI doesn't wait for a response, and the other MSI takes a few seconds to launch. This is of course very hacky. Is there no way to do this properly? I don't mind if the two MSIs are not chained, i.e. it would be O.K. if the AIR runtime remained on the machine during an uninstall. InstallShield advertises that they can chain MSIs. I would rather go the extra mile and use Wix or something similar, rather than fork out $2000 for InstallShield Professional. I'm suprised that Wix can't do the basic task of calling another MSI given how low level it is when InstallShield is able to do it. Am I missing something? Thanks Kevin -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] remember installed features during major upgrade
If you use the MajorUpgrade element then it is the default behavior. You're using the older way, so you need to specify it explicitly. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Martin Kulov [mailto:mar...@kulov.net] Sent: Friday, June 10, 2011 12:27 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] remember installed features during major upgrade Peter, I own you one! MigrateFeatures did the trick. However I need to explicitly set it to Yes, although I am doing major upgrade. UpgradeVersion Minimum=$(var.RTMVersion) IncludeMinimum=yes Maximum=$(var.CurrentVersion) IncludeMaximum=no Language=1033 Property=UPGRADEFOUND MigrateFeatures=yes / Removing MigrateFeatures attribute does not enable this behavior by default. Is this expected? Thanks a lot! Martin -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Friday, June 10, 2011 6:35 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] remember installed features during major upgrade In the upgrade installer, set UpgradeVersion/@MigrateFeatures=yes If you use MajorUpgrade, migrate features is the default. -Original Message- From: Martin Kulov [mailto:mar...@kulov.net] Sent: 10 June 2011 16:25 To: wix-users Subject: [WiX-users] remember installed features during major upgrade Hi, I am sure this is a commonly asked question, but I cannot find any resource explaining this. Scenario: User has installed the product and changes the default selected features to install. During major upgrade the installer fails to remember what features user has selected to install at first place and installs all features as specified by default in the MSI. Question: How should one keep user selected features between major upgrades? Thank you! Martin Kulov Microsoft Regional Director VS ALM MVP, MCT, INETA Speaker http://www.kulov.net Phone: (+359) 88 821 3255 - - EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ WiX-users mailing
Re: [WiX-users] Issue with MajorUpdate Element
You can generate the instances in a preprocessor for loop. Since this stuff is branded, you're likely to know a countable list of brands. You could define list in a semicolon delimited var, pass it to a ?foreach? and build your transforms that way. Not perfect, but doable. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, June 23, 2011 12:02 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Issue with MajorUpdate Element Read up on instance transforms first... If I remember correctly, you need to know ahead of time how many instance transforms you are going to support. That requirement sort of makes instance transforms useless in my opinion. On the other hand, perhaps you can use regular transforms to change information in the base MSI package (things such as PackageCode(?), ProductCode, UpgradeCode, and perhaps ProductVersion as well as your virtual directory). The only issue with this approach is that generating regular transforms is not easy. WiX provides torch.exe to generate transforms but it requires the base MSI package and the end result MSI package... You could probably build a tool that can use a DSL of some kind (XML?) that specifies the changes that should exist in a regular transform and generate directly from it. I don't think that tool exists today. This is not the first time I've heard of a requirement like this but I don't have a good solution yet. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail -Original Message- From: CoolBreeze [mailto:coolbreeze...@googlemail.com] Sent: Thursday, June 23, 2011 9:32 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Issue with MajorUpdate Element Thanks, our ideal result is to give the installer to our production support team, who will run the single msi however many times is needed and each time specify a different brand (virtual directory). This is sounding like the instance transforms is what will be needed; otherwise, there is the potential to have to create 1..N msi's for brands and maintaining the various associated UpgradeCodes so way. On Thu, Jun 23, 2011 at 12:19 PM, David Watson dwat...@sdl.com wrote: Yes you are probably correct depending on exactly how you are supporting multiple brands. If you want 2 identical products but the installation branded with different logos and installed to a different location, your best bet is to make multiple msis (you can do this from a shared codebase to simplify development), we have done this here with editions of software (full featured or cut down etc). We tend to have one installation package these days and support editions with licensing in the application. If you wish to install multiple websites on the same machine you are either looking at instance transforms (never done this myself but there have been threads on this list) or you could also have a base MSI that does the actual grunt work of installing the application then do multiple sets of configuration either as small msis or outside of MSI altogether as a configuration step. Dave -Original Message- From: CoolBreeze [mailto:coolbreeze...@googlemail.com] Sent: 23 June 2011 17:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Issue with MajorUpdate Element Edwin as you described this is the behavior that is occurring as the ProductCode is different, but the ProductVersion and UpgradeCode are the same. Are my only options to accomplish what I want to: 1. Create a new MSI with a different ProductCode and UpgradeCode for each Brand. 2. Configure my installer to support Multiple Instance installs. On Thu, Jun 23, 2011 at 11:51 AM, Castro, Edwin G. (Hillsboro) edwin.cas...@fiserv.com wrote: As I understand from the Wix docs that when the MajorUpdate element is used with the attribute AllowSameVersionUpgrades=no that I should be able to run my installer a second time and the new installation would be treated by MSI as a new product independent from the previous one. I'm not finding this to be the case though. This is *not* how I understand the meaning of the AllowSameVersionUpgrades=no. Windows Installer does not use the Upgrade table to determine what constitutes an independent product. That is driven by ProductCode, ProductVersion, and UpgradeCode. The Upgrade table provides a mechanism for finding/detecting earlier installations and automatically removing them as part of
Re: [WiX-users] Wix project error in TFS build
How many CPU cores on the machine you're building from the command line? Visual Studio forces serialize build, but the default for msbuild from the command line is to thread the build with the number of CPU cores. If you don't have your project references and dependencies just right, this will break things as you described. To check, pass /m:1 to msbuild on the command line run. If this fixes the problem, then it is a reference/dependency issue and you'll need to serialize the build until you get it fixed. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Friday, June 24, 2011 12:25 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix project error in TFS build Hmm... I already have a project reference in my SetupProject to a CSharpProject. Visual Studio already shows the dependency checked and doesn't let me change it. The solution builds fine in Visual Studio but not on the command line (msbuild). Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Thursday, June 23, 2011 12:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix project error in TFS build On the connect web site, this is a known issue. You can use the solutions configuration manager to set project dependencies from inside visual studio. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, June 23, 2011 1:35 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix project error in TFS build I'm noticing something similar in some my builds. What do you mean by manually set the dependency? Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Thursday, June 23, 2011 11:06 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix project error in TFS build If you are using the MSBUILD capabilities on your build servers, update the command line in the build to provide a verbose output, you should be able to see what the problem in the log. We noticed that in 2010 that sometimes there are dependency issues, and if that is the case (ie, the missing dll is built after your wix project), you need to update the configuration in the VS2010 project to manually set the dependency. I think we ended up with 2 manual dependencies in our projects to finally make the problem go away. -Original Message- From: ansariwn [mailto:w.ans...@gmail.com] Sent: Thursday, June 23, 2011 11:29 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix project error in TFS build Hi, I am building a solution that contains a Wix v3.6 project on Team Foundation Server (TFS 2010). The solution also contains some other class library projects. The TFS build is unsuccessful with the following error: light.exe : error LGHT0103: The system cannot find the file 'Path\assembly.dll' with type ''. I have checked that the file (assembly.dll) in question, it does exists at the given path. The file in question is actually the output of another project in the solution. Apart from this file there are other files that are successfully found by WIX project build in the same path location. Can somebody tell me why is this happening? -- View this message in context: http://windows-installer-xml-wix- toolset.687559.n2.nabble.com/Wix-project-error-in-TFS-build- tp6508973p6508973.html Sent from the wix-users mailing list archive at Nabble.com. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Simplify data backup and recovery for your virtual environment with
Re: [WiX-users] Simple splash screen
Well, you need a UIRef element for the UI you're trying to link it, to start with. There are some properties you'll probably want to set up too. Take a look at the Using Built-In WixUI Dialog Sets under Modifying the Installation User Interface in the help. -- John M. Cooper -Original Message- From: Ben Peikes [mailto:bpei...@gargoylestrategic.com] Sent: Thursday, June 30, 2011 3:08 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Simple splash screen I'm new to WIX. I downloaded 3.5 and am using it integrated with VS 2010. I have my first installer working. It just installs two files. I'd like to add a splash screen which can prompt the user to continue/cancel. I've tried following the tutorial, but I can't even seem to get the example using ConfigurableDirectory working. Here is my simple wxs file. When I run the msi it simply installs without prompting me for a directory. I actually don't want to let the user pick the directory, I'm looking for a simple splash screen, but I couldn't figure out how to get that working. I've added WixUIExtention as a Reference in the project as well, but still no prompt for a directory. What am I doing wrong? ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Product Id=add197fa-1c37-4d90-838c-5ae71fc1b419 Name=OurTools Language=1033 Version=1.0.0.0 Manufacturer=OurCompany UpgradeCode=7a73a89a-e9cf-4d0e-825d-12e9088e9242 Package Id=* Description=This does some things Manufacturer= OurCompany InstallerVersion=200 Compressed=yes / Media Id=1 Cabinet=media1.cab EmbedCab=yes / Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFilesFolder Directory Id=Manufacturer Name=[Manufacturer] Directory Id=INSTALLDIR Name=Executable Component Id=AppExeComp Guid=24243254-8A4F-47BA-AE63-03E22F3B2923 File Id=AppExe Name=App.exe Source=App.exe KeyPath=yes / /Component Component Id=AppConfig Guid=FC81DC41-D6F2-4728-9A78-0C3124C3DD39 File Id=AppConfig Name=app.config Source=app.config KeyPath=yes / /Component /Directory /Directory /Directory /Directory Feature Id=Patch Title=Victor 1.0.0.29 HotFix1 Level=1 ConfigurableDirectory=INSTALLDIR ComponentRef Id=AppExeComp / ComponentRef Id=AppConfig / !-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -- ComponentGroupRef Id=Product.Generated / /Feature /Product /Wix -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Problem with Including under TFS 2010 Build Agent
Got a challenging problem. I have an include file that has versioning constants in it. Running from the Desktop, all goes well, the constants are defined, and the correct version number is set on the MSI. However, on the TFS 2010 Build agent, the include doesn't seem to work. I get the following error: e:\Builds\35\639\Sources\main\FedLine\Source\Install\FedLineWix\Product.wxs (15): Undefined preprocessor variable '$(var.ProductMajor)'. FedLineVersion.wxi: Include xmlns=http://schemas.microsoft.com/wix/2006/wi; !-- the build template may update these -- ?define ProductMajor = 1 ? ?define ProductMinor = 0 ? ?define BuildMajor = 674 ? !-- ignored by MSI API -- ?define Release = 0 ? /Include Snippet from Product.wxs: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(sys.CURRENTDIR)FedLineVersion.wxi ? ?define Version = $(var.ProductMajor).$(var.ProductMinor).$(var.BuildMajor) ? Product Id=* Name=!(loc.ProductName) Language=!(loc.LCID) Version=$(var.Version) Manufacturer=!(loc.ProductManufacturer) UpgradeCode=B73A1EEA-3509-4474-825A-E02C230B0424 Any clues why this breaks on the Build Agent, but not locally on my desktop? -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem with Including under TFS 2010 Build Agent
Well, that goes without saying ($(sys.CURRENTDIR) points to a very different path on the build agent). :) But making it relative didn't help much. Ultimately, shortening the command line (removing a bunch of long var defines) from candle helped. The previous build engineer had apparently never heard of using either a wxi or wixproj to define path vars. By the way, this problem existed on both 3.5 and 3.6. The choice to use a wxi instead of embedding in wixproj is simple--there's a workflow build activity that regex's and adjusts the values in the wxi each build. It WAS doing that to my Product.wxs with predictable fragility. I have nightmares thinking about a build activity hacking a wixproj just before it builds. -- jmc -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Friday, July 15, 2011 12:24 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problem with Including under TFS 2010 Build Agent Giving the magic 8 ball a shake, I'll take a guess and say that the $(sys.CURRENTDIR) is set differently on the build machine. $(sys.CURRENTDIR) is a very volatile value. It is set to where you launch the build from. Instead, I would recommend using a relative path to the .wxi file. The Include will search relative to the .wxs file with the Include statement. Alternaively, push all the variables up into the .wixproj file and get rid of the .wxi file completely. This is what I would do personally. But I'm not a fan of .wxi files. smile/ On Thu, Jul 14, 2011 at 1:39 PM, John Cooper jocoo...@jackhenry.com wrote: Got a challenging problem. I have an include file that has versioning constants in it. Running from the Desktop, all goes well, the constants are defined, and the correct version number is set on the MSI. However, on the TFS 2010 Build agent, the include doesn't seem to work. I get the following error: e:\Builds\35\639\Sources\main\FedLine\Source\Install\FedLineWix\Produc t.wxs (15): Undefined preprocessor variable '$(var.ProductMajor)'. FedLineVersion.wxi: Include xmlns=http://schemas.microsoft.com/wix/2006/wi; !-- the build template may update these -- ?define ProductMajor = 1 ? ?define ProductMinor = 0 ? ?define BuildMajor = 674 ? !-- ignored by MSI API -- ?define Release = 0 ? /Include Snippet from Product.wxs: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; xmlns:netfx=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(sys.CURRENTDIR)FedLineVersion.wxi ? ?define Version = $(var.ProductMajor).$(var.ProductMinor).$(var.BuildMajor) ? Product Id=* Name=!(loc.ProductName) Language=!(loc.LCID) Version=$(var.Version) Manufacturer=!(loc.ProductManufacturer) UpgradeCode=B73A1EEA-3509-4474-825A-E02C230B0424 Any clues why this breaks on the Build Agent, but not locally on my desktop? -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ 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
Re: [WiX-users] Wix 3.6.1518.0 to 3.6.1915.0 issue
Very familiar! Just ran into it this past week . . . -- jmc -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Wednesday, July 20, 2011 8:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix 3.6.1518.0 to 3.6.1915.0 issue There is a bug that MSBuild does not build .sln files with wix.targets correctly. Sound similar: http://sourceforge.net/tracker/?func=detailaid=3324464group_id=105970atid=642714? On Wed, Jul 20, 2011 at 5:55 PM, Bob Arnson b...@joyofsetup.com wrote: On 20-Jul-11 16:20, John Bergman wrote: After updating from WiX 3.6.1518.0 to WiX 3.6.1915.0, I have started encountering some sort of dependency issue from MSBuild. It's tough to narrow down four months of changes. Before beta, we recommend teams pick up WiX builds monthly to narrow down the scope of changes. So, that said, I have no idea. Areas to try: - Diff the .targets files; there have been some related changes, though nothing strikes me as problematic. - Get a diagnostic-level MSBuild log; it will have details on build order. -- sig://boB http://joyofsetup.com/ -- 5 Ways to Improve Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- 5 Ways to Improve Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ ___ 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. -- 5 Ways to Improve Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question on Patch Files.
Well, the whole point of a patch versus a major upgrade is it's smaller, so one generally wants to include only the stuff that has changed. If you find yourself wanting to throw more in, that may be a good sign that you might want to do a major upgrade instead. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: Monday, July 25, 2011 5:22 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Question on Patch Files. When building a Patch for a setup should a patch file contain all items that could change or just the ones I know that have changed. For example I have the following defined: PatchFamily Id=SoftwareUpdates Version=$(var.PublicVersion) Supersede=yes ProductCode={----} PropertyRef Id=ProductName/ ComponentRef Id=RegistrySettings / ComponentRef Id=File1 / ComponentRef Id=File2 / ComponentRef Id=File3 / /PatchFamily The two setups I have only differ by one file, say File1. Should I only have in the patch file the components that I know are different? Does it hurt to put these other components in the patch file even if they don't change? I was asking because would it make sense to perhaps have one patch file with everything that could be patched listed in it so I don't have to create this file over and over again? --Brian This message (including any attachments) contains confidential and privileged information intended for a specific purpose, and is protected by law. If you are not the intended recipient, you must delete this message and any attachments. You are hereby notified that any disclosure, copying, or distribution of this message, or any attachments, or the taking of any action based on it, is strictly prohibited. Opinions, conclusions, and other information in this message that do not relate to the official business of API Healthcare Corporation (API Healthcare) shall be understood as neither given nor endorsed by API Healthcare. API Healthcare Corporation 1550 Innovation Way Hartford, WI 53027 -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ ___ 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. -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question on Patch Files.
Actually, it's best if everything that might get patched gets authored into its own fragment. If you patch whole fragments, pretty soon the MSP file is nearly as big as the MSI--defeats the purpose. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, July 26, 2011 4:14 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Question on Patch Files. Normally a patch just includes resources that have changed, plus any changes from earlier patches - Patch families can only grow. As far as I know, when you refer to a resource in the patch family, the whole fragment that the resource belongs to is pulled into the patch. Therefore you could refer to just one thing in each fragment that you want in your list and you'd not need to change it in future. I would examine the resulting patch to see how much it has included - I don't know if unchanged resources have any effect on the patch although I'd assume not. You'll likely have to edit your patch wxs every time to change the patch display name, client patch ID etc although these could be automated. -Original Message- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: 25 July 2011 23:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Question on Patch Files. When building a Patch for a setup should a patch file contain all items that could change or just the ones I know that have changed. For example I have the following defined: PatchFamily Id=SoftwareUpdates Version=$(var.PublicVersion) Supersede=yes ProductCode={----} PropertyRef Id=ProductName/ ComponentRef Id=RegistrySettings / ComponentRef Id=File1 / ComponentRef Id=File2 / ComponentRef Id=File3 / /PatchFamily The two setups I have only differ by one file, say File1. Should I only have in the patch file the components that I know are different? Does it hurt to put these other components in the patch file even if they don't change? I was asking because would it make sense to perhaps have one patch file with everything that could be patched listed in it so I don't have to create this file over and over again? --Brian This message (including any attachments) contains confidential and privileged information intended for a specific purpose, and is protected by law. If you are not the intended recipient, you must delete this message and any attachments. You are hereby notified that any disclosure, copying, or distribution of this message, or any attachments, or the taking of any action based on it, is strictly prohibited. Opinions, conclusions, and other information in this message that do not relate to the official business of API Healthcare Corporation (API Healthcare) shall be understood as neither given nor endorsed by API Healthcare. API Healthcare Corporation 1550 Innovation Way Hartford, WI 53027 - - Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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,
Re: [WiX-users] Preventing a patch from installing.
See the attributes to the PatchFamily element; most specifically, the ProductCode, Supersede and Version attributes. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Brian Lemke [mailto:brian.le...@apihealthcare.com] Sent: Tuesday, July 26, 2011 12:38 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Preventing a patch from installing. Is it possible to prevent an update from applying to the system? I have a scenario where I have shipped v1.0 of my setup which has patches 1 and 2. After patch 2 is out but before the client can install it, they detect a critical error in patch 1 that requires us to immediately patch it (creating patch 3). Is there anything I can do that once patch 3 is installed to prevent patch 2 from installing since it may re-break the fix, especially if patch 2 edited the same files as patch 3. Or am I not understanding how patching is intended to work? (I come from a home grown setup system and trying to convert to use MSI\WiX.) --Brian This message (including any attachments) contains confidential and privileged information intended for a specific purpose, and is protected by law. If you are not the intended recipient, you must delete this message and any attachments. You are hereby notified that any disclosure, copying, or distribution of this message, or any attachments, or the taking of any action based on it, is strictly prohibited. Opinions, conclusions, and other information in this message that do not relate to the official business of API Healthcare Corporation (API Healthcare) shall be understood as neither given nor endorsed by API Healthcare. API Healthcare Corporation 1550 Innovation Way Hartford, WI 53027 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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. -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Major upgrade opt-out ?
Condition your dialog on WIX_UPGRADE_DETECTED. However, is unattended upgrade or an install important? If it is, popping a dialog during an upgrade scenario is going to force an attended install. -- -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: robert_y...@non.agilent.com [mailto:robert_y...@non.agilent.com] Sent: Monday, August 01, 2011 11:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Major upgrade opt-out ? We would like to be able to uninstall an older product, and install the new version. I tried out the MajorUpgrade element, and it works well. The only problem is that it seems to work silently .. apparently we need to be able to prompt the user and ask them if it's OK to perform the upgrade. Is this possible in Wix 3.5 ? Thanks ! -Rob -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ 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. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] feature install state always stops install under XP SP3
From the documentation: The following table shows the feature and component state values used in conditional expressions. These states are not set until MsiSetInstallLevel is called, either directly or by the CostFinalize action. Since Launch Conditions are normally evaluated before CostFinalize, !FeatureName is going to be empty instead of 3. I'm running into this issue now trying to conditionalize a dialog specific to a feature. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Saturday, August 06, 2011 9:54 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] feature install state always stops install under XP SP3 Something is definitely fishy in there. Look at verbose log files for all the different installs. They will show you the state of the Features and from there you should be able to hunt down what is going on. On Fri, Aug 5, 2011 at 9:36 AM, Peter Stein pst...@instec-corp.com wrote: Straight from the tutorial: The term NOT (!FeatureName = 3) means the feature is not installed locally. So since I want the install to stop if the feature *is* already installed in my product.wxs I have: Condition Message=FeatureA already installed ![CDATA[(!FeatureA = 3)]] /Condition Problem is this *always* stops the installer even when the software is not installed!? Scenario: 1. Software not installed. 2. Install via msi installer. No issues. 3. Try running installer again. It stops with FeatureA already installed message. So far so good. 4. Remove software with Control Panel-Add or Remove Programs. 5. Try running installer again. It stops with FeatureA already installed message. Bzzzt. THIS IS CLEARLY WRONG!! I have even tried rebooting XP after the removal via CP but that has no impact. Also looked in the registry after removal via CP, but cannot find any software remnants. Any ideas on what's going on and how to make it work? Thanks. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Question regarding upgrades...
How are your Components authored? For patching to work as you expect, you need one File in one Component in a separate Fragment for each. Otherwise, the Wix linking rules will pull all the Components in a fragment even if you just want to reference one. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Kanishk Rastogi [mailto:karas...@microsoft.com] Sent: Wednesday, August 10, 2011 11:01 PM To: wix-users@lists.sourceforge.net; Windows Installer XML Announcements Cc: wix-d...@lists.sourceforge.net Subject: [WiX-users] Question regarding upgrades... Hi all, Hi all, I am trying to develop a Small patch for Our product via wixpdb way with the patch wxs as:: ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; Patch AllowRemoval=yes Classification=Update Comments=Abra ka dabra Description=dabra ka abra DisplayName=patch Manufacturer=AAA TargetProductName=XXX Media Id=100 Cabinet=Data1.Cab PatchBaseline Id=patch / /Media PatchFamily Id=MyPatchFamily Version=1.0.1709.0 ProductCode=8AB21D86-21F0-430A-9AD1-2D90077104C3 Supersede=yes ComponentRef Id=cm_cbengine.exe.config / ComponentRef Id=cm_VhdFileProvider.dll / /PatchFamily /Patch /Wix I want to patch just 2 files in this patch.. cbengine.exe.config and VhdFileProvider.dll The steps which I do are.. Build the product with version 1.0.1709.0. Change the config file Increment the version Rebuild the product... candle.exe patch.wxs light.exe patch.wixobj torch.exe -p -xi CloudBackupProviderolder.wixpdb CloudBackupProvidernewer.wixpdb -out Patch.wixmst pyro.exe patch.wixmsp -t patch Patch.wixmst -out Patch.msp This patch gets generated and I am able to apply it. But I see that all the dlls have the version updated... Is that expected? And is it copying all the dlls? If yes does the patch also contains all the dlls. ? Again if yes then whats the use of adding ComponentRef Id=cm_VhdFileProvider.dll / Also, In the logs for all dlls I see:: MSI (s) (DC:4C) [15:04:13:968]: Executing op: CacheBaselineFile(Baseline=0,FileKey=F__VhdFileProvider.dll,FilePath=C:\Program Files\Microsoft Cloud Backup Provider\bin\VhdFileProvider.dll,,Existing=1) MSI (s) (DC:4C) [15:04:13:981]: Executing op: CacheRTMFile(SourceFilePath=C:\Program Files\Microsoft Cloud Backup Provider\bin\VhdFileProvider.dll,FileKey=F__VhdFileProvider.dll,,ProductCode={8AB21D86-21F0-430A-9AD1-2D90077104C3},ProductVersion=1.0.1709,Attributes=4608CopierFlags=0,,) MSI (s) (DC:4C) [15:04:13:981]: Executing op: RegisterSharedComponentProvider(PatchGUID={7BF6F157-1695-40CC-B4E8-A6124BE55390},MediaCabinet=#Data1.Cab,File=F__VhdFileProvider.dll,Component={207B3B2A-04BF-4665-A6AB-76E3BC87D48F},ComponentVersion=1.0.1710.0,ProductCode={8AB21D86-21F0-430A-9AD1-2D90077104C3},ProductVersion=1.0.1709,PatchSize=0,PatchAttributes=0,PatchSequence=10056,SharedComponent=0,IsFullFile=1) MSI (s) (DC:4C) [15:04:13:997]: Executing op: FileCopy(SourceName=VHDFIL~1.DLL|VhdFileProvider.dll,SourceCabKey=F__VhdFileProvider.dll,DestName=VhdFileProvider.dll,Attributes=4608,FileSize=1633792,PerTick=65536,,VerifyMedia=1,CheckCRC=0,Version=1.0.1710.0,Language=1033,InstallMode=58982400,,,) MSI (s) (DC:4C) [15:04:13:998]: File: C:\Program Files\Microsoft Cloud Backup Provider\bin\VhdFileProvider.dll;Overwrite; Won't patch; Existing file is a lower version MSI (s) (DC:4C) [15:04:13:998]: Source for file 'F__VhdFileProvider.dll' is compressed MSI (s) (DC:4C) [15:04:13:999]: Re-applying security from existing file. MSI (s) (DC:4C) [15:04:14:001]: Verifying accessibility of file: VhdFileProvider.dll There is a wont patch field in the log.. Does it means that its not getting patched?? Is there a way I can ask the patch to just send limited files... Thankx Kanishk PS: have attatched the logs for patching -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ 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
Re: [WiX-users] Custom Action for InstallExecuteSequence
Look at firstSequence for the Execute attribute to the CustomAction element in the documentation. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Kyle Lee [mailto:klee...@gmail.com] Sent: Monday, August 22, 2011 9:57 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Custom Action for InstallExecuteSequence I am trying to add some custom actions (CA's) after AppSearch. However, since AppSearch action is in both InstallExecuteSequence and InstallUISequence tables, my CA's are performed twice. Is it possible to tell the installer to perform my CA's only during InstallExecuteSequence, not during InstallUISequence? -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ 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. -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] UI Sequence table in for advertised-shortcut triggered repair
In general, you can't assume the UI is going to run for a repair. For example, running Repair from the Control Panel button runs the repair in Basic mode with only the basic progress dialog showing. It works from the MaintenanceTypeDlg when you press the Change button off Control Panel because the full UI is run. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Sameer Arora [mailto:arora...@gmail.com] Sent: Sunday, August 28, 2011 4:32 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] UI Sequence table in for advertised-shortcut triggered repair My scenario is that target for an advertised shortcut is absent. If clicks the shortcut, Windows MSI triggers a repair with parameters REINSTALL=DefaultFeature REINSTALLMODE=pocmus. As part of this repair, the installation sequence seems to skip UI Execute sequence as I see from the log: Action start 9:06:26: INSTALL. MSI (s) (B8:8C) [09:06:26:945]: Running ExecuteSequence ... However, if user performs repair from Add/Remove program, the UI sequence does get triggered Action start 9:06:45: INSTALL. MSI (c) (A8:9C) [09:06:45:601]: UI Sequence table 'InstallUISequence' is present and populated. MSI (c) (A8:9C) [09:06:45:601]: Running UISequence Why is UI sequence table missing/empty when repair is triggered by the advertised shortcut? And is there a way that repair both from ARP and shortcut follow the same UI sequence ? Thank you for any pointers, Sameer -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ 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. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Calling heat from within a preprocessor extension
%WIX%\bin\heat.exe should work. The quotes are important as there maybe spaces in the path. The WIX environment variable should be defined as pointing to the WIX install location. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Dirk Räder [mailto:d...@raeder.cc] Sent: Friday, September 16, 2011 6:04 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Calling heat from within a preprocessor extension Hi, I'm currently tayloring a preprocessor extension that generates the entire directory structure, components and so on during the preprocessor run. It is quite similar to heat, but can be used within the WiXproj build. I also have to generate class and registry values for several files. Here, I'm would like to call heat file $inputFile -out $outputFile -sfrag. The next step would be to extract the resulting Class and RegistryValue element from $outputFile. How can I determine where to find heat.exe? Simply start a process it and hope Windows will find the executable? Or is there a more robust way? Regards, Dirk -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ 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. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Patches: torch MSI or WIXPDB ?
As the error message implies, you need to do an /admin install of the MSI before running pyro/torch so that it has access to the files if you don't want to use wixpdb's. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: robert_y...@non.agilent.com [mailto:robert_y...@non.agilent.com] Sent: Tuesday, September 20, 2011 12:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patches: torch MSI or WIXPDB ? Hi all - I've been experimenting with torch/pyro/patching on our Wix installer, which I'm proud to say has completely replaced InstallShield for our application. The thing I'm wondering about is this: do you have to use .wixpdb files as input to torch, or can you use .msi's instead ? The docs imply the answer is yes. Everything works fine if I try using .wixpdb's but if I use .msi's I get the following error from pyro : pyro.exe : error PYRO0315 : Source information is required for the product '{GUID omitted}'. If you ran torch.exe with both target and updated .msi files, you must first perform an administrative installation of both .msi files then pass -a when running torch.exe. Here's how I invoked torch : torch -p -xo orig\SetupProject1.msi new\SetupProject1.msi -out patch\diff2.wixmst Are .wixpdb's really necessary to get this to work ? Do the .MSI's not contain enough info by themselves ? Thanks for any info ! -Rob -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Best way to invoke Wix from a TFS build workflow?
As the others have said, there's nothing special about wixproj Projects--they'll build fine as part of a VS 2010 Solution. To get build order right, you'll want to have appropriate references to projects consumed by the wixproj in it. All of our builds make either an MSI or a wixlib, and three of them bind the MSI to setup.exe using setupbld.exe. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: David Rickard (USA) [mailto:davri...@microsoft.com] Sent: Tuesday, September 20, 2011 5:09 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Best way to invoke Wix from a TFS build workflow? I need to build some MSIs with Wix during our TFS build. Our current TFS build is using the Windows Workflow XAML files to declare the build logic. What's the best way to invoke Wix from there? Directly invoking the process from an activity? Going down to a powershell script and calling it from there? Are there any custom Wix activities to use? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Best way to invoke Wix from a TFS build workflow?
Yes. -- John M. Cooper -Original Message- From: David Rickard (USA) [mailto:davri...@microsoft.com] Sent: Wednesday, September 21, 2011 11:02 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Best way to invoke Wix from a TFS build workflow? VS2010. Will the TFS build server need to have WiX installed on it to build them? -Original Message- From: John Bergman [mailto:john.berg...@xpedienttechnologies.com] Sent: Tuesday, September 20, 2011 4:12 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Best way to invoke Wix from a TFS build workflow? Are you building Projects that exist in VS2008 or 2010? If so, we simply created the WiXprojects and it was all handled automatically. In our case, we created a separate project that handled the build of the install packages, using MergeModules from several places, including some of our own. For that separate solution, we used relative pathing to the .MSM files. John -Original Message- From: David Rickard (USA) [mailto:davri...@microsoft.com] Sent: Tuesday, September 20, 2011 5:09 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Best way to invoke Wix from a TFS build workflow? I need to build some MSIs with Wix during our TFS build. Our current TFS build is using the Windows Workflow XAML files to declare the build logic. What's the best way to invoke Wix from there? Directly invoking the process from an activity? Going down to a powershell script and calling it from there? Are there any custom Wix activities to use? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Best way to invoke Wix from a TFS build workflow?
I concur. And having just had both the magically disappearing and the magically appearing file situation, it's no fun to figure out. Generated builds are great to prototype an installer or to run a very pre-release installer, but I want both hands on the wheel for anything that's going to be handled by a client. Heat does good work, but auto generating doesn't always give you what you want when you want it, and the more complex your installer is, the less Heat's defaults are going to always fit. -- John M. Cooper -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: Wednesday, September 21, 2011 1:54 PM To: David Rickard (USA); General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Best way to invoke Wix from a TFS build workflow? Email me when the day comes that a file unintentionally disappears from the installer and it goes unnoticed. :-) Trust me, I've been doing build and install for 15 years and it will happen. The problem you mention is easily solved by putting the responsibility on the developer to make sure that he's done done and tests the installer and related functionality change on a clean machine. Making it an automagical process just gives the developer more excuses as to why it's not his fault when it doesn't work. Also are you doing major upgrades or minor upgrades? How about patches? From: David Rickard (USA) davri...@microsoft.com Sent: Wednesday, September 21, 2011 1:44 PM To: chr...@iswix.com chr...@iswix.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Best way to invoke Wix from a TFS build workflow? Thanks for the advice. Though our devs work with the raw built files and our TFS builds clearly identify build breaks. Installer issues (like someone adding a file to the solution but forgetting to add it to the installer) would be at risk of going unnoticed. From: Christopher Painter [mailto:chr...@iswix.com] Sent: Wednesday, September 21, 2011 10:48 AM To: David Rickard (USA); General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] Best way to invoke Wix from a TFS build workflow? Open the solution up and click properties on the merge module project. Go to the build events tab then type your command into the pre-build event command line. I still wouldn't do it though. This type of dynamic authoring frequently masks up stream problems. What should have been a build break will end up being a runtime break. From: David Rickard (USA) davri...@microsoft.com Sent: Wednesday, September 21, 2011 12:44 PM To: chr...@deploymentengineering.com chr...@deploymentengineering.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Best way to invoke Wix from a TFS build workflow? Alright. In this case how would you run a program to add all the files in a given directory to the MSI? Before we had an EXE that generated a merge module of files based on a directory. Could this hook in somehow? -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Tuesday, September 20, 2011 4:09 PM To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Best way to invoke Wix from a TFS build workflow? The simplest way is to use Votive to generate a .SLN / .WIXPROJ and then add the sln configuration | platform to to the build parameters in the build definition. You shouldn't have to do any customizations in workflow as the Default Template will work out of the box. Passing a ProductVersion property takes a little bit more work on the msbuild side ( build parameters and preprocessor definitions in the wixproj and wixs ) but it doesn't require any workflow changes. From: David Rickard (USA) davri...@microsoft.com Sent: Tuesday, September 20, 2011 5:11 PM To: wix-users@lists.sourceforge.net wix-users@lists.sourceforge.net Subject: [WiX-users] Best way to invoke Wix from a TFS build workflow? I need to build some MSIs with Wix during our TFS build. Our current TFS build is using the Windows Workflow XAML files to declare the build logic. What's the best way to invoke Wix from there? Directly invoking the process from an activity? Going down to a powershell script and calling it from there? Are there any custom Wix activities to use? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.
[WiX-users] Known Issues why msiexec.exe goes Zombie for MSI 4.5
Is there any list of know issues with Windows Installer 4.5/5.0? Occasionally, I see zombie msiexec.exe processes. This occurs even on a successful installer verbose log. It's not common, and it appears to be random. Killing the msiexec.exe zombies usually works. Rebooting always works. Occurs like maybe once a week. During testing. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1
The main installer I support creates a web site with several web services and is specifically targeted at IIS7.5 and Windows Server 2008R2 including SP1. While Wix doesn't support all the configurations I need to do to IIS7.5, the ones it does support work fine. -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, October 06, 2011 5:24 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 David suggested that you check a verbose log. That really should be everybody's first step to determining why an install (or uninstall) didn't work as expected. Always, always, always check a verbose log first. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail -Original Message- From: Bhaumik Barot [mailto:bhaumik...@gmail.com] Sent: Thursday, October 06, 2011 2:57 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 So I have WIX 3.6 and latest and gratest windows server 2008 r2 sp1 with windows updates installed. My installer does not throw any error but it does not create application pool or does not create website. But everything works fine in windows server 2008 R2 . I don't know is it SP1 issue or with my wix. My current version of installer is being used in production for windows server 2008 R2 and so far no issues have come up. But now Microsoft has new SP1 released and I need to support that. Thanks, Bhaumik On Wed, Sep 14, 2011 at 6:49 AM, David Watson dwat...@sdl.com wrote: How is it failing? Check a verbose log. -Original Message- From: Bhaumik Barot [mailto:bhaumik...@gmail.com] Sent: 13 September 2011 19:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 -- Forwarded message -- From: Bhaumik Barot bhaumik...@gmail.com Date: Tue, Sep 13, 2011 at 12:57 PM Subject: iis website creation fails for windows server 2008 R2 with SP1 To: wix-d...@lists.sourceforge.net code works fine with windows server 2008 r2 but fails when I installed sp1. I read the online about some compatibility issue that iis has with new SP1. I am creating custom app pool and website under that app pool for .net 4.0. -- Bhaumik -- Bhaumik Barot -- --- - BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Bhaumik Barot -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance,
Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1
Do you have Orca? What's in the IIsWebAddress table? Not much works right on configuration if this table doesn't have some reasonable values in it. What is in your IIsAppPool table? Again, it needs to be populated with some minimal values before AppPool configuration is going to happen. -- John M. Cooper -Original Message- From: Bhaumik Barot [mailto:bhaumik...@gmail.com] Sent: Friday, October 07, 2011 10:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 I checked the verbose log for wix doesnt give me any details .Actually installation finishes without any error.But when I go to IIS I don't see application pool or website. On Thu, Oct 6, 2011 at 5:23 PM, Castro, Edwin G. (Hillsboro) edwin.cas...@fiserv.com wrote: David suggested that you check a verbose log. That really should be everybody's first step to determining why an install (or uninstall) didn't work as expected. Always, always, always check a verbose log first. Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail -Original Message- From: Bhaumik Barot [mailto:bhaumik...@gmail.com] Sent: Thursday, October 06, 2011 2:57 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 So I have WIX 3.6 and latest and gratest windows server 2008 r2 sp1 with windows updates installed. My installer does not throw any error but it does not create application pool or does not create website. But everything works fine in windows server 2008 R2 . I don't know is it SP1 issue or with my wix. My current version of installer is being used in production for windows server 2008 R2 and so far no issues have come up. But now Microsoft has new SP1 released and I need to support that. Thanks, Bhaumik On Wed, Sep 14, 2011 at 6:49 AM, David Watson dwat...@sdl.com wrote: How is it failing? Check a verbose log. -Original Message- From: Bhaumik Barot [mailto:bhaumik...@gmail.com] Sent: 13 September 2011 19:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Fwd: iis website creation fails for windows server 2008R2 with SP1 -- Forwarded message -- From: Bhaumik Barot bhaumik...@gmail.com Date: Tue, Sep 13, 2011 at 12:57 PM Subject: iis website creation fails for windows server 2008 R2 with SP1 To: wix-d...@lists.sourceforge.net code works fine with windows server 2008 r2 but fails when I installed sp1. I read the online about some compatibility issue that iis has with new SP1. I am creating custom app pool and website under that app pool for .net 4.0. -- Bhaumik -- Bhaumik Barot -- --- - BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Bhaumik Barot -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it.
Re: [WiX-users] Executing an application after installation
Interesting, the link How To: Run the Installed Application After Setup seems to be dead in the wix.chm. -- John M. Cooper -Original Message- From: Thomas Due [mailto:t...@scanvaegt.dk] Sent: Friday, October 14, 2011 4:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Executing an application after installation Hello, I can't seem to find it in the docs? /Thomas Due -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 13. oktober 2011 15:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Executing an application after installation Did the WiX documentation not help you? This case is explicitly called out. On Thu, Oct 13, 2011 at 1:55 AM, Thomas Due t...@scanvaegt.dk wrote: Hello, I have a configuration application that I wish to run always after my installer have completed. I don't want to have the application start until I close the installer. The application is installed into the INSTALLDIR location. The custom action is defined like this: CustomAction Id=LaunchConfig FileKey=MasterConfig Return=asyncNoWait / And called when the ExitDialog exits: Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchConfig Order=999 NOT Installed/Publish This works like a charm in Windows XP, but in Windows 7 (with the UAC enabled) nothing happens. I assume that the UAC somehow blocks this action, which is what it is supposed to do normally, I guess. However since my installer requires elevated priviliges I don't understand why it is not possible to run the application. What can I do to ensure that the application will always execute, even on Windows 7 with the UAC enabled? Thank you, Thomas Due -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing an application after installation
In the wix.chm, go to Creating Installation Packages-Modifying the Installation User Interface-Customizing Built-in WixUI Dialog Sets and then scroll down to the Customizing the ExitDlg header. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Thomas Due [mailto:t...@scanvaegt.dk] Sent: Friday, October 14, 2011 4:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Executing an application after installation Hello, I can't seem to find it in the docs? /Thomas Due -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 13. oktober 2011 15:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Executing an application after installation Did the WiX documentation not help you? This case is explicitly called out. On Thu, Oct 13, 2011 at 1:55 AM, Thomas Due t...@scanvaegt.dk wrote: Hello, I have a configuration application that I wish to run always after my installer have completed. I don't want to have the application start until I close the installer. The application is installed into the INSTALLDIR location. The custom action is defined like this: CustomAction Id=LaunchConfig FileKey=MasterConfig Return=asyncNoWait / And called when the ExitDialog exits: Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchConfig Order=999 NOT Installed/Publish This works like a charm in Windows XP, but in Windows 7 (with the UAC enabled) nothing happens. I assume that the UAC somehow blocks this action, which is what it is supposed to do normally, I guess. However since my installer requires elevated priviliges I don't understand why it is not possible to run the application. What can I do to ensure that the application will always execute, even on Windows 7 with the UAC enabled? Thank you, Thomas Due -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] error CNDL0004 : The UTIL:PermissionEx element contains an unexpected attribute 'Execute'.
Yes, GenericExecute is what you probably want. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Thursday, October 20, 2011 8:37 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] error CNDL0004 : The UTIL:PermissionEx element contains an unexpected attribute 'Execute'. Doesn't GenericExecute include execute. I would just try using one of them. -Original Message- From: Lars Augensen [mailto:lars.augen...@confirmit.com] Sent: 20 October 2011 12:13 To: wix-users@lists.sourceforge.net Subject: [WiX-users] error CNDL0004 : The UTIL:PermissionEx element contains an unexpected attribute 'Execute'. Could someone help me out here? I'm trying to set the 'Read' and 'Execute' rights on a folder, like so: CreateFolder util:PermissionEx User=IIS_WPG Execute=yes GenericRead=yes Read=yes GenericExecute=yes / /CreateFolder However, this causes the following error during compilation: setup.wxs(176) : error CNDL0004 : The UTIL:PermissionEx element contains an unexpected attribute 'Execute'. I've tried both with 3.5 and 3.6 - is the 'Execute' attribute deprecated? It's still in the 3.x manual? Thanks for any help. Lars Augensen Deployment Engineer lars.augen...@confirmit.com | Phone +47 2150 2572 | Mobile +47 40224293 Confirmit® [everywhere] Software for Customer Feedback, Employee Feedback, and Market Research Confirmit AS, Karenslyst allé 56, 0277 Oslo, Norway www.confirmit.comhttp://www.confirmit.com/ | Main +47 2150 2500 | Fax +47 2150 2501 The information contained in this email message may be privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this transmission is strictly prohibited. If you have received this communication in error, or if any problems occur with transmission, please notify the sender immediately. - - The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Error Code 25543 during ExecXmlFile
Getting the following error randomly on fresh installs and upgrades during testing: ExecXmlFile: Configuring Xml File: some path\Web.config The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, MSI (s) (D0!44) [14:28:50:918]: Product: some product -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, ExecXmlFile: Unable to save changes to XML file: some path\Web.config, retry attempt: 1 1) Is there any way to suppress or trap these retry errors. It appears that the XmlFile CA retries the save after the sharing violation, and it almost always succeeds on the second attempt; 2) Looking at the code, I get the impression that I should be getting Abort, Retry, or Ignore, but the dialog that displays has only an OK button. OK seems to function as Retry. 3) The culprit appears to be IIS7 contending for the web.config. Any tricks to avoid this. The edit is updating the connection string for the database, and it's got to be done or the service won't startup/run. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Validating Web site in IIS7 - WiX 3.5
I query the IIS6 Metabase Compatibility layer (the custom action hasn't been migrated to a pure IIS7 form using ServerManager ) to populate a ComboBox (which gets queried for the Default Web Site if the UI is suppressed). In UI mode, A dialog box with the contents of the ComboBox is displayed. The site selected by the user is then used to initialize a set of website properties (port, certificate, name, description, ip, header). An additional dialog is then displayed to allow the user to override the default ports. If the default ports are overridden, additional custom actions run to update the ports (particularly net.tcp). In the non UI case, a custom action runs to harvest the UPN username and password off selected AppPools on the Default Web Site. Both this CA and the binding (port) CA's use the IIS7 ServerManager class. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Friday, October 21, 2011 1:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Validating Web site in IIS7 - WiX 3.5 Trying to figure out the right approach to validate that a Web site already exists during my install. In IIS6 I used GetObject(IIS://localhost/w3svc) and queried that for the info the user typed in. Any of you that target IIS7+ how are you dealing with this? I am using a Web site locator for an existing Web site rather than creating my own Web site. I'd probably want to do this as a DoAction during my InstallUISequence. Suggestions or code snippets would be great! Thanks Chad -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Validating Web site in IIS7 - WiX 3.5
The ServerManger class can do it. See http://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager(v=vs.90).aspx Note: It leaks memory like a sieve, and it's behavior is such that you'll be destroying and recreating it frequently (i.e., it doesn't appear truly possible to crank up an instance of it and just hit it with methods). Also, you've got to parse the binding information (in the form ip:port:header except for net.tcp which is port:*) yourself. And, when AppPool processing, you have to iterate over all the AppPools and select just the one(s) you want for processing. But it works. -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Friday, October 21, 2011 2:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validating Web site in IIS7 - WiX 3.5 My CA also works fine if I install the IIS6 Compatibility Layer on Win2008 R2 Server as the old GetObject method uses the Metabase. Was just hoping to avoid having to install that extra layer. Since we still have to support 2003 Server right now I need this older method still for that OS, but had planned on running that only on Win2003 and using some newer method with Win2008 that didn't require that Compat layer. Thoughts? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Friday, October 21, 2011 12:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Validating Web site in IIS7 - WiX 3.5 I query the IIS6 Metabase Compatibility layer (the custom action hasn't been migrated to a pure IIS7 form using ServerManager ) to populate a ComboBox (which gets queried for the Default Web Site if the UI is suppressed). In UI mode, A dialog box with the contents of the ComboBox is displayed. The site selected by the user is then used to initialize a set of website properties (port, certificate, name, description, ip, header). An additional dialog is then displayed to allow the user to override the default ports. If the default ports are overridden, additional custom actions run to update the ports (particularly net.tcp). In the non UI case, a custom action runs to harvest the UPN username and password off selected AppPools on the Default Web Site. Both this CA and the binding (port) CA's use the IIS7 ServerManager class. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Chad Petersen [mailto:chad.peter...@harlandfs.com] Sent: Friday, October 21, 2011 1:48 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Validating Web site in IIS7 - WiX 3.5 Trying to figure out the right approach to validate that a Web site already exists during my install. In IIS6 I used GetObject(IIS://localhost/w3svc) and queried that for the info the user typed in. Any of you that target IIS7+ how are you dealing with this? I am using a Web site locator for an existing Web site rather than creating my own Web site. I'd probably want to do this as a DoAction during my InstallUISequence. Suggestions or code snippets would be great! Thanks Chad -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The demand for IT networking professionals
Re: [WiX-users] Error Code 25543 during ExecXmlFile
1) It would be nice if it just logged retries by default and immediately failed only if I configured XmlFile to do so or if the retry loop was exhausted. It would also be nice if the message was more direct and more like a warning by default instead of implying that the install had failed. 2) XmlFile elements are being authored against the web.configs for several AppPools. All the entries previously exist as either defaults (in the NOT Installed case) or as working SQL Server connection strings and paths to XML and DTD files (used for contract processing). As much as possible, we've removed processing from web.config and moved it to the databases, but that just makes the connection string updated in the web.config all the more important. These re-try errors are not frequent, but because of the tenor of the error message (implying internal install failure), they're very disconcerting to support and install personnel. Downing/resetting IIS7 is not an option as this software provides low level services for various banking/credit union software and it needs to be up 24/7. Even a reboot is not considered acceptable. 3) Looking at XmlConfig, it appears I would first have to delete the default elements and then re-add them. It seems to me I'd just be doubling the number of transactions and giving IIS7 twice as many opportunities to rock the boat. If XmlConfig supported just updating existing entries, it would be a much easier choice. -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Sunday, October 23, 2011 11:58 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error Code 25543 during ExecXmlFile 1. The code could be changed. 2. Would have to see how you're using XmlFile to know for sure. Have you considered switching to XmlConfig? It may be a bit more robust... I haven't looked in a while. 3. Yeah, IIS is very annoying like that. It see changes to the files and starts reading the files itself locking out further changes. Took us forever to get the stupid IIS Custom Actions to behave mostly well. On Thu, Oct 20, 2011 at 1:05 PM, John Cooper jocoo...@jackhenry.com wrote: Getting the following error randomly on fresh installs and upgrades during testing: ExecXmlFile: Configuring Xml File: some path\Web.config The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, MSI (s) (D0!44) [14:28:50:918]: Product: some product -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 25543. The arguments are: -2147024864, some path\Web.config, ExecXmlFile: Unable to save changes to XML file: some path\Web.config, retry attempt: 1 1) Is there any way to suppress or trap these retry errors. It appears that the XmlFile CA retries the save after the sharing violation, and it almost always succeeds on the second attempt; 2) Looking at the code, I get the impression that I should be getting Abort, Retry, or Ignore, but the dialog that displays has only an OK button. OK seems to function as Retry. 3) The culprit appears to be IIS7 contending for the web.config. Any tricks to avoid this. The edit is updating the connection string for the database, and it's got to be done or the service won't startup/run. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech, Inc.) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.commailto:jocoo...@jackhenry.com 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow
Re: [WiX-users] Action state not set during modify?
They get set too late. At the earliest, CostFinalize, and some states are really good until InstallValidate. Your dialogs are occurring before that, more than likely. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Adam Kadzban [mailto:mightyshorta...@gmail.com] Sent: Tuesday, October 25, 2011 2:26 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Action state not set during modify? I'm got an installer working off a modified version of the Mondo UI (wix 3.5) that has three different features, and each feature has a custom dialog screen that gathers information on how to configure those features. When the installer is run in maintenance mode as a change/modify, I want the user to go from the feature tree page (where they modified which features to have installed) to the dialogs for every feature that will end up being installed. I'm having problems getting the conditions correct on the Customize dialog's Next button though. When doing a first time install, the condition only needs to be Feature1=3 for it to work (I've set it up so you can't install as advertised or from source, so I should only have to deal with 2 and 3 for action state). However it looks like action state doesn't getting set during modify - is this true? Taking a look at the log, I see this: MSI (c) (74:9C) [13:49:51:024]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedFeature property. Its current value is 'Feature1'. Its new value: 'Feature2'. MSI (c) (74:9C) [13:49:51:759]: Note: 1: 2727 2: MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedAction property. Its current value is '3'. Its new value: '2'. MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedCost property. Its current value is '0'. Its new value: '-976568'. That is from me running the installer to install Feature1 and Feature2, then running it again and deselecting Feature2 in the feature tree. Based on those lines from the log, it looks like it should know that Feature1's action state is set to 3...but I'm not seeing that behavior. When I have the condition just as Feature1=3, I hit next and nothing happens. There is also the Installed state value, but that alone won't help. If a feature is getting uninstalled (in which case !Feature1=3), it would work if I could also check to see if the feature wasn't being uninstalled (!Feature1=3 AND NOT Feature1=2), but that's not working either... I've been googling around and seen people reference Installed, MaintenanceMode=Modify, and WixUI_InstallMode = Change, but as far as I can tell those are all on the product level, not a feature level, which doesn't help. Is there some basic concept about install/action state that I'm missing? Or am I going about the modify logic all wrong? Thanks, Adam -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Action state not set during modify?
Well, the only approach that I have found to work consistently across all maintenance and install modes is to set properties concerning the states and features I'm interested in executed when the Next button of CustomizeDlg is pressed. I can rely on the values of these properties. I then condition further dialogs based on these properties. -- John M. Cooper -Original Message- From: Adam Kadzban [mailto:mightyshorta...@gmail.com] Sent: Tuesday, October 25, 2011 4:00 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Action state not set during modify? Well it appears you are right. I just put in a Publish element to show a popup if Feature1=-1, and it came up...so I don't understand why, but yes you are correct. Perhaps during maintenance it isn't set until CostFinalize of the Execute sequence? It works during the installation process, though, which confuses me. But given that, is there another way I can accomplish what I'm trying to do? -Adam On Tue, Oct 25, 2011 at 3:32 PM, Adam Kadzban mightyshorta...@gmail.comwrote: Action state is supposed to be set during CostFinalize, which happens before my dialogs in the UI sequence (CostFinalize is 800, my dialogs start at 1296). Also, looking at the section of log I pasted in, I can see the MsiSelectionTreeSelectedAction property get set from 3 to 2 - that is setting the action state (ref: http://msdn.microsoft.com/en-us/library/windows/desktop/aa371604(v=vs. 85).aspx) though it appears to not actually be doing anything... -Adam On Tue, Oct 25, 2011 at 2:47 PM, John Cooper jocoo...@jackhenry.comwrote: They get set too late. At the earliest, CostFinalize, and some states are really good until InstallValidate. Your dialogs are occurring before that, more than likely. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Adam Kadzban [mailto:mightyshorta...@gmail.com] Sent: Tuesday, October 25, 2011 2:26 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Action state not set during modify? I'm got an installer working off a modified version of the Mondo UI (wix 3.5) that has three different features, and each feature has a custom dialog screen that gathers information on how to configure those features. When the installer is run in maintenance mode as a change/modify, I want the user to go from the feature tree page (where they modified which features to have installed) to the dialogs for every feature that will end up being installed. I'm having problems getting the conditions correct on the Customize dialog's Next button though. When doing a first time install, the condition only needs to be Feature1=3 for it to work (I've set it up so you can't install as advertised or from source, so I should only have to deal with 2 and 3 for action state). However it looks like action state doesn't getting set during modify - is this true? Taking a look at the log, I see this: MSI (c) (74:9C) [13:49:51:024]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedFeature property. Its current value is 'Feature1'. Its new value: 'Feature2'. MSI (c) (74:9C) [13:49:51:759]: Note: 1: 2727 2: MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedAction property. Its current value is '3'. Its new value: '2'. MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedCost property. Its current value is '0'. Its new value: '-976568'. That is from me running the installer to install Feature1 and Feature2, then running it again and deselecting Feature2 in the feature tree. Based on those lines from the log, it looks like it should know that Feature1's action state is set to 3...but I'm not seeing that behavior. When I have the condition just as Feature1=3, I hit next and nothing happens. There is also the Installed state value, but that alone won't help. If a feature is getting uninstalled (in which case !Feature1=3), it would work if I could also check to see if the feature wasn't being uninstalled (!Feature1=3 AND NOT Feature1=2), but that's not working either... I've been googling around and seen people reference Installed, MaintenanceMode=Modify, and WixUI_InstallMode = Change, but as far as I can tell those are all on the product level, not a feature level, which doesn't help. Is there some basic concept about install/action state that I'm missing? Or am I going about the modify logic all wrong? Thanks, Adam - - The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn
Re: [WiX-users] Burn UI
I use a customize version of the setup.exe from 3.5 RTM. Much less functionality than Burn, but it works and I get caching which is mainly what I was after. -- John M. Cooper -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Tuesday, October 25, 2011 4:13 PM To: Bruce Cran; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn UI That isn't really what I meant, I was hoping to use the existing WiX authoring as the burn UI not just show the UI in my MSI but I think indirectly you have answered my question. I guess I was hoping for something for free, the current BA UI doesn't look very nice if the WIX install is anything to go by I as I don't really write UI's I was look for a free lunch! Neil -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: 25 October 2011 19:26 To: General discussion for Windows Installer XML toolset. Cc: Neil Sleightholm Subject: Re: [WiX-users] Burn UI On 25/10/2011 18:47, Neil Sleightholm wrote: Is it possible to use the standard WiX authored MSI dialogs as the UI for Burn? I asked about this yesterday: the BA that comes with Burn has a toggle to show the MSI UI, but it will still show its own interface too. You'd need to write your own BA to do this. See the thread Burn: bootstrap a single MSI, not showing BA UI at all for Rob's answer :) -- Bruce Cran -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to display the list of features to be installed
Well, the problem is, in my experience with the FeatureTree control, is that you need an event triggered by it or after it to update the states. Otherwise, the states seem to sometimes hold their pre-FeatureTree states until sometime around InstallValidate. I've tried toggling INSTALLLEVEL and ADDLOCAL, and they both sort of work, but there were always edge cases where a feature I had either added with the FeatureTree control or removed with it would not have its state properly detected. Setting properties as part of the Next button control sequence of the CustomizeDlg seems to accomplish satisfy both the event requirement and give me some reliable info on the true states of the features. But I'd be the first to admit that it feels like a kludge. -- John M. Cooper -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Wednesday, October 26, 2011 3:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to display the list of features to be installed I couldn't say. Almost all our installers have a single feature so it's not something I have an in-depth knowledge of. Can you not trigger control events from the UI ? -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 25 October 2011 23:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to display the list of features to be installed Hi Peter, Thank you for responding to my question. I have a few more specific questions for you. 1. For first time install, if I want to determine if a feature is selected for installation in a custom action, what is the best way to do the work? Should I use the ADDLOCAL value or MsiGetFeatureState? 2. In maintenance mode, what has been installed by the first time install will not be in the ADDLOCAL value, correct? If this true, how can we get the whole list of features that will be installed after the Modify install? 3. Is MsiSetFeatureState the best way to set feature install state in a custom action, or should I directly set the value of ADDLOCAL? Thanks a lot, Miaohsi -Original Message- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: Tuesday, October 25, 2011 1:31 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to display the list of features to be installed The first 4 properties under Feature Installation Options Properties would be the place to start. http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx#feature_inst allation_options_properties -Original Message- From: Wang, Miaohsi [mailto:miaohsi.w...@invensys.com] Sent: 24 October 2011 19:07 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to display the list of features to be installed Dear All, We would like to display before entering the Execute sequence the list of features that the user selects to install, but do not know what the best approach would be. Specifically, the implementation involves getting the feature install status and organizing the features to install into a list. If you have any idea, please let us know. Thanks a lot, Miaohsi *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/en/legal/default.aspx. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). - - The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not
Re: [WiX-users] Hard-coding a log file location (with Burn?)
FOLDERID_ProgramData might be a good choice. -- John Merryweather Cooper Jack Henry Associates, Inc. (Premier Tech) Build Install Engineer - jXchange Office: 913-341-3434 x791011 jocoo...@jackhenry.com -Original Message- From: Lars Augensen [mailto:lars.augen...@confirmit.com] Sent: Wednesday, October 26, 2011 9:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Hard-coding a log file location (with Burn?) Well, that bug is exactly why I need that functionality, so.. what is the alternate path you are thinking of using? - Lars Augensen Deployment Engineer -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 26. oktober 2011 16:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Hard-coding a log file location (with Burn?) Burn logs to %TEMP%, that's not configurable. There is a bug open that we need to use another path instead of %TEMP% because reboots on Windows server clear the folder. However, there are no plans to make the full path of the log file configurable. The MsiLogFileLocation sets variables in Burn to all the log files being generated so that your bootstrapper application can do whatever it wants with them after they are written. On Wed, Oct 26, 2011 at 7:12 AM, Lars Augensen lars.augen...@confirmit.comwrote: Hi everyone, I'm trying to get our setup to log to a specific location that is not %temp% - per default. Given that the MsiLogFileLocation property is read-only and cannot be used for giving another location, and telling the users to use msiexec instead of setup.exe is not doable - do I have to make a custom bootstrapper that sends /lvoicewarmupx c:\path-tomy.log to msiexec? I assume this is something I could do with Burn, if someone could point me in the direction of a Howto on Burn (I'm still unclear on whether or not Burn should be used in a separate project from the setup itself, and even what command-lines to use).. Do I then have to handle all other commandlines, repair scenarios etc. myself? The .chm file isn't totally clear on this as of yet.. Lars Augensen Deployment Engineer lars.augen...@confirmit.com | Phone +47 2150 2572 | Mobile +47 40224293 -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- virtually, Rob Mensching - http://RobMensching.com LLC -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ 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. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users