Re: [WiX-users] Custom actions failing on XP
Thanks everyone for your help, I have created a small text application to call my DLL and it seems to be failing on the function GetModuleFileNameExA, I am looking into this. Again thank you, you have been a great help. Kind Regards, Natalie Carr Measuresoft Development Ltd., Partnership Courtyard, The Ramparts, Dundalk, Co. Louth, Ireland. Tel: +353 42 9332399 Email: natalie.c...@measuresoft.com Web: http://www.measuresoft.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Friday, January 25, 2013 5:45 PM To: General discussion for Windows Installer XML toolset.; chr...@iswix.com Subject: 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
[WiX-users] Bundles, shared packages, reference counting and major upgrades
Hi List, Here is a contrived example of something that approximates what I'm trying to do in the real world: I have 2 bundles, both of which use a shared component. I only want one copy of the shared component on the machine. Newer versions of the shared component are guaranteed to be backwards compatible with older versions. I have 2 products, each of which require the shared component. I want a user to be able to install one, the other, or both products, and only have one copy of the shared component on their computer. I also want them to be able to uninstall the products, without it breaking the other, but have their computer clean when both are uninstalled. This is where package reference counting is supposed to come in. The idea being my shared component gets reference counted, and only uninstalled when no references to it remain on the computer. This works perfectly, provided all the versions are the same, but starts going wrong when version upgrades are involved. As an aside: I cannot find any good documentation on how package reference counting is supposed to work. My googling has lead me to believe that it is tied in with WixDependencyExtension, although it's not clear. Also, there's not really any good documentation on WixDependencyExtension either -- the documentation page on it at http://wix.sourceforge.net/manual-wix3/author_product_dependencies.htm is helpfully blank. If anyone can point me towards some docs on how it's supposed to work, that would be much appreciated. I've bought the Wix 3.6 book which probably has the best explanation I can find, but it doesn't cover this particular case. So here's what I'm seeing: Let's say I have 2 products. A and B. Each use my shared component. When A was released, it used shared component version 1.1. When B was released, it used shared component version 1.2. 1.2 is a major upgrade to 1.1, however it is backwards-compatible. Let's say I install A, then B. First version 1.1 is installed, then 1.2 is installed. Both work, everything is fine. If I then uninstall A then B, everything works as it should. A does not remove the shared package, but B does. However, if I uninstall B first and then A, I have a problem: B refuses to uninstall the shared package, as it should. (Will not uninstall package: sharedpackage, found dependents: 1) - However, when A is uninstalled, the package is left on the machine - presumably because it is not the package that A installed in the first place - it has been upgraded. It unregisters its dependency, but leaves the package there. As such, after the 2 packages are uninstalled, my shared package remains on the machine. Worse, there is no listing for it in 'Programs and Features' because both bundles have been successfully uninstalled. I have to go digging around in c:\windows\installer to find and uninstall it. I've looked in the documentation as much as I can, but can't find a way of telling Wix about this scenario, but lack of docs is hampering me somewhat. I'm not sure if there are some parameters I can add somewhere to say it's OK for you to remove related packages instead of the one you installed, or something similar... Or, if this is a bug. Or, if this is by design. (I hope not!) In my contrived example, I have two shared MSIs which are fairly standard installs. One notable thing is that I've added a Provides element as such: Component Id='providescomponent' Guid='MY-GUID-HERE' dep:Provides Id='aaardvark.sharedbundle' Key='aaardvark.sharedbundle'/ /Component My bundle installers then reference this in their chain, with no particularly notable parameters. (I tried adding an additional Provides element as a child of the MsiPackage element, but it correctly complains that the MSI already contains this information) Here is a zip file containing the wix source files for the example: http://simon.wdgt.co.uk/bundle_refcount.zip Here are what my bundle uninstall logs say about uninstalling in the latter case: (note: Contrived example, the bundles don't have their own extra packages, just the shared one) Product B uninstall: [1E0C:2AD8][2013-01-28T10:51:56]i001: Burn v3.7.1224.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\ProgramData\Package Cache\{470f1494-5284-4a23-b775-77f0e222d46f}\product_b_bundle.exe, cmdline: '/uninstall -burn.unelevated BurnPipe.{157956B9-426E-4651-B1D0-22A5326591F3} {FFC4CE71-4C14-4DDD-B5C9-92CC27E15695} 9500' [1E0C:2AD8][2013-01-28T10:51:56]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Simon\AppData\Local\Temp\My_Product_B_20130128105156.log' [1E0C:2AD8][2013-01-28T10:51:56]i100: Detect begin, 1 packages [1E0C:2AD8][2013-01-28T10:51:56]i101: Detected package: sharedpackage, state: Present, cached: Complete [1E0C:2AD8][2013-01-28T10:51:56]i199: Detect complete, result: 0x0 [1E0C:2AD8][2013-01-28T10:51:57]i200: Plan begin, 1 packages, action: Uninstall [1E0C:2AD8][2013-01-28T10:51:57]w327: Will not uninstall
[WiX-users] Does the bundle element splashscreen support png?
Does the splashscreen property in the bundle element support .PNG files? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Does-the-bundle-element-splashscreen-support-png-tp7583181.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
[WiX-users] [SPAM] Re: Does the bundle element splashscreen support png?
I do not believe so. Did you find it worked? On Mon, Jan 28, 2013 at 7:44 AM, victorwhiskey victorhwhis...@yahoo.comwrote: Does the splashscreen property in the bundle element support .PNG files? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Does-the-bundle-element-splashscreen-support-png-tp7583181.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
[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
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
[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
[WiX-users] Force text colour in WiXUIExtensions
How can I use the provided WiXUIExtension interfaces (such as WiXUI_Minimal) but change the text colour to force it to be black? Context: Some users set their Personalise display settings to high-contrast white text on black background. In the provided WiX installer UIs, the result is white text (taking the system setting, I assume), and putting it on the default white background, making the text illegible. So it seems the simplest solution would be to purposefully make the text black no matter what, so it is always legible on the white background. Yes, this will annoy said users, but not as much as not being able to read the installer text at all. A second, more elegant but more complicated, solution would be to somehow detect the system's default font colour, and set the background to the opposite. Thanks. -- 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] Best way to choose Windows Auth vs. SQL Auth
Nobody has contributed a more elegant solution, yet. -Original Message- From: George Fleming [mailto:gef...@microsoft.com] Sent: Monday, January 28, 2013 11:22 AM 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
[WiX-users] WixShellExec not running application on exit
I have added the statement to run my application on exit if box is check but it is throwing an error, see below. Using VS2012 and XML Toolst 3.7.1224.0 and windows 7. Application requires UAC to run if that matters, I have tried running the installer from admin command prompt and not. Code in WXS file: ** Property Id=WixShellExecTarget Value=[#$(var.TopupManagerConsole.TargetFileName)] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / UI Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch $(var.ProductName) / Log error message: *** Action 14:19:51: ExitDialog. Dialog created Action 14:19:53: LaunchApplication. Action start 14:19:53: LaunchApplication. Action ended 14:19:54: LaunchApplication. Return value 3. DEBUG: Error 2896: Executing action LaunchApplication failed. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: LaunchApplication, , Action ended 14:19:54: ExitDialog. Return value 3. Thanks in advance, John J. Hughes II Senior Software Engineer Function Group | Function Technology Limited -- 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] 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
Re: [WiX-users] Bundle Installer size issue
Rob, I can work on getting perf data, let me get back to you... Thanks for the ideas (digital signing splash screen), I will look into those... In regards to my original question, is there no way to put some of the components into a separate dll? Thx -Joseph -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Thursday, January 17, 2013 6:45 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle Installer size issue If your executable is signed then Windows will verify the signature before launching the executable. For very large executables, that can take some time. It's not a very great user experience. 300MB is about the breaking point for user experience, especially if launched over network. PS: if you have perf numbers showing the engine taking a while to load the BA, I'd love to see them. That is a sensitive perf area we can try to improve with data. On Thu, Jan 17, 2013 at 12:45 AM, Amadeus amadeus.h...@diadrom.se wrote: 300k seems about right (my Installer is 1.4 MB - downloading all MSIs/EXEPackages). It /does /take awhile for Burn to boot up itself and launch the custom BA though. But like Neil said, a splash screen does the trick. Add it inside the Bundle element, and close it when your BA has finished loading up. I hook up the following in my main view's constructor: this.Loaded += (sender, e) = Bootstrapper.InstallEngine.Engine.CloseSplashScreen(); -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-I nstaller-size-issue-tp7582955p7582961.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/learnmore_122712 ___ 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/learnmore_122712 ___ 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
Re: [WiX-users] WixShellExec not running application on exit
Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/ Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app now... / Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish Property Id=WixShellExecTarget Value=http://localhost:[WEB_SITE_PORT]/; / CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / -Original Message- From: John J. Hughes II [mailto:jj...@functioninternational.com] Sent: January-28-13 2:58 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] WixShellExec not running application on exit I have added the statement to run my application on exit if box is check but it is throwing an error, see below. Using VS2012 and XML Toolst 3.7.1224.0 and windows 7. Application requires UAC to run if that matters, I have tried running the installer from admin command prompt and not. Code in WXS file: ** Property Id=WixShellExecTarget Value=[#$(var.TopupManagerConsole.TargetFileName)] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / UI Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch $(var.ProductName) / Log error message: *** Action 14:19:51: ExitDialog. Dialog created Action 14:19:53: LaunchApplication. Action start 14:19:53: LaunchApplication. Action ended 14:19:54: LaunchApplication. Return value 3. DEBUG: Error 2896: Executing action LaunchApplication failed. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: LaunchApplication, , Action ended 14:19:54: ExitDialog. Return value 3. Thanks in advance, John J. Hughes II Senior Software Engineer Function Group | Function Technology Limited -- 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
Re: [WiX-users] WixShellExec not running application on exit
Sorry I don't understand. Adding a value for WIXUI_EXITDIALOGOPTIONALCHECKBOX just checks the check box by default, it does not change the problem as far as I can see. -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Monday, January 28, 2013 15:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixShellExec not running application on exit Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/ Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app now... / Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish Property Id=WixShellExecTarget Value=http://localhost:[WEB_SITE_PORT]/; / CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / -Original Message- From: John J. Hughes II [mailto:jj...@functioninternational.com] Sent: January-28-13 2:58 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] WixShellExec not running application on exit I have added the statement to run my application on exit if box is check but it is throwing an error, see below. Using VS2012 and XML Toolst 3.7.1224.0 and windows 7. Application requires UAC to run if that matters, I have tried running the installer from admin command prompt and not. Code in WXS file: ** Property Id=WixShellExecTarget Value=[#$(var.TopupManagerConsole.TargetFileName)] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / UI Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch $(var.ProductName) / Log error message: *** Action 14:19:51: ExitDialog. Dialog created Action 14:19:53: LaunchApplication. Action start 14:19:53: LaunchApplication. Action ended 14:19:54: LaunchApplication. Return value 3. DEBUG: Error 2896: Executing action LaunchApplication failed. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: LaunchApplication, , Action ended 14:19:54: ExitDialog. Return value 3. Thanks in advance, John J. Hughes II Senior Software Engineer Function Group | Function Technology Limited -- 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 -- 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] WixShellExec not running application on exit
I have mine set to 1 You have yours set to Launch $(var.ProductName) Just try changing the value, also your target app why do you have the # in the element? Value=[#$(var.TopupManagerConsole.TargetFileName)] -Original Message- From: John J. Hughes II [mailto:jj...@functioninternational.com] Sent: January-28-13 3:31 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] WixShellExec not running application on exit Sorry I don't understand. Adding a value for WIXUI_EXITDIALOGOPTIONALCHECKBOX just checks the check box by default, it does not change the problem as far as I can see. -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Monday, January 28, 2013 15:07 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WixShellExec not running application on exit Your value for WIXUI_EXITDIALOGOPTIONALCHECKBOX is incorrect Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOX Value=1/ Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch your app now... / Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=CA_LaunchWebSite WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish Property Id=WixShellExecTarget Value=http://localhost:[WEB_SITE_PORT]/; / CustomAction Id=CA_LaunchWebSite BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / -Original Message- From: John J. Hughes II [mailto:jj...@functioninternational.com] Sent: January-28-13 2:58 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] WixShellExec not running application on exit I have added the statement to run my application on exit if box is check but it is throwing an error, see below. Using VS2012 and XML Toolst 3.7.1224.0 and windows 7. Application requires UAC to run if that matters, I have tried running the installer from admin command prompt and not. Code in WXS file: ** Property Id=WixShellExecTarget Value=[#$(var.TopupManagerConsole.TargetFileName)] / CustomAction Id=LaunchApplication BinaryKey=WixCA DllEntry=WixShellExec Impersonate=yes / UI Publish Dialog=ExitDialog Control=Finish Event=DoAction Value=LaunchApplicationWIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed/Publish /UI Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Launch $(var.ProductName) / Log error message: *** Action 14:19:51: ExitDialog. Dialog created Action 14:19:53: LaunchApplication. Action start 14:19:53: LaunchApplication. Action ended 14:19:54: LaunchApplication. Return value 3. DEBUG: Error 2896: Executing action LaunchApplication failed. The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2896. The arguments are: LaunchApplication, , Action ended 14:19:54: ExitDialog. Return value 3. Thanks in advance, John J. Hughes II Senior Software Engineer Function Group | Function Technology Limited -- 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 -- 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
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] Use WiX with TFSBuild without installing WiX on buildmachine?
Just found it, thanks! -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-tp7583184p7583199.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
Re: [WiX-users] Does the bundle element splashscreen support png?
Unfortunately, no, it did not work. Was hoping it does, but at least I got confirmation. Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Does-the-bundle-element-splashscreen-support-png-tp7583181p7583200.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