Re: [WiX-users] Passing information from bootstrapper application tomsi packages
Windows Installer is part of the operating system, rather than a wix tool. It doesn't understand Burn concepts such as burn variables. Therefore you have to pass the bootstrapper variables to the MSI by using elements in the MSI Package. This will add them to the command line (or rather API call) when the MSI is installed. -Original Message- From: Werner Strydom [mailto:wern...@bloudraak.com] Sent: 09 August 2012 07:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Passing information from bootstrapper application tomsi packages Hello, I wrote a native bootstrapper (using std win32 dialogs, rather than themes) which requests some data from users before proceeding to install and configure the product. This includes requesting the top level domain for websites and keys used to encrypt registry entries. Without it, installing the product will be rather complex, error prone and frustrating. How do I pass this information to the numerous MSIs being installed? I called SetVariableString of the underlying engine. However, it doesn't seem to have any effect. Thanks, Werner - - Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Checking whether Windows roles and features is installed
Hi, We use WMI in our custom bootstrapper (not currently burn) to check these. In fact we have a wizard page that does lots of similar checking based on what options you have chosen. You could also make a custom action to be run from msi as you suggest. Dave Previously dwat...@sdl.com. Any job offers seriously considered. > From: wern...@bloudraak.com > Date: Wed, 8 Aug 2012 13:53:16 -0700 > To: WiX-users@lists.sourceforge.net > Subject: [WiX-users] Checking whether Windows roles and features is installed > > Hello, > > I'm working on an installer that requires numerous roles and features to be > enabled. If those components are not available, the system, consisting of web > applications, MSMQ, and SMTP server will fail to install, never mind run. > > Does WIX 3.6 support checking whether a Windows feature is installed? If not, > what is the most appropriate manner to implement such a check? What comes to > mind is to create a WIX extension, with a custom action that reads a MSI > table to check whether the feature is available or not and fail with an > appropriate message when its not. Are there tutorials showing how to write a > sample WIX extension? > > However, if one were to chain several such MSIs together, isn't it perhaps > more appropriate that such checking be done by bootstrapper created using > burn? If that is the case, are there any tutorials/samples how to check for > prerequisites without checking the registry? In this case we can use WMI to > query Win23_ServerFeature whether a feature/role is installed or not. > > Thanks, > Werner > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: WixStdBA crashes wih Access violation
I want to supply some extra information on this defect as requested but it seems to have gone missing. Anyone know what has happened to it? Neil -Original Message- From: Henning Krause [mailto:m...@henningkrause.eu] Sent: 08 August 2012 5:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation Hi Bob, done: https://sourceforge.net/tracker/index.php?func=detail&aid=3555380&group_id=105970&atid=642714 Kind regards, Henning > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Wednesday, August 08, 2012 6:32 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > On 08-Aug-12 12:00, Henning Krause wrote: > > Unhandled exception at 0x0FF45EE6 (wixstdba.dll) Setup.exe: 0xC005: > > Access violation reading location 0x0018. > Please file a bug so it doesn't get lost in e-mail. > > -- > sig://boB > http://joyofsetup.com/ > > > -- > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: WixStdBA crashes wih Access violation
Hi Neil, Bob asked me to add my bundle authoring to it. As it's full of work stuff I had to mark it private. I have investigated the issue further and come to the conclusion that it happens during an upgrade of an existing installation. It tries to do something to the existing pacakage and looks up the package in the current bundle using its id. When it does not find it, it fails with the access violation. Kind regards, Henning > -Original Message- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Thursday, August 09, 2012 2:27 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > I want to supply some extra information on this defect as requested but it > seems to have gone missing. Anyone know what has happened to it? > > Neil > > -Original Message- > From: Henning Krause [mailto:m...@henningkrause.eu] > Sent: 08 August 2012 5:49 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > Hi Bob, > > done: > https://sourceforge.net/tracker/index.php?func=detail&aid=3555380&grou > p_id=105970&atid=642714 > > Kind regards, > Henning > > > -Original Message- > > From: Bob Arnson [mailto:b...@joyofsetup.com] > > Sent: Wednesday, August 08, 2012 6:32 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > > > On 08-Aug-12 12:00, Henning Krause wrote: > > > Unhandled exception at 0x0FF45EE6 (wixstdba.dll) Setup.exe: > 0xC005: > > > Access violation reading location 0x0018. > > Please file a bug so it doesn't get lost in e-mail. > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > -- > > > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: WixStdBA crashes wih Access violation
That matches what I am seeing, if more information is required I can also supply the data Bob requested. Neil -Original Message- From: Henning Krause [mailto:m...@henningkrause.eu] Sent: 09 August 2012 2:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation Hi Neil, Bob asked me to add my bundle authoring to it. As it's full of work stuff I had to mark it private. I have investigated the issue further and come to the conclusion that it happens during an upgrade of an existing installation. It tries to do something to the existing pacakage and looks up the package in the current bundle using its id. When it does not find it, it fails with the access violation. Kind regards, Henning > -Original Message- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Thursday, August 09, 2012 2:27 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > I want to supply some extra information on this defect as requested > but it seems to have gone missing. Anyone know what has happened to it? > > Neil > > -Original Message- > From: Henning Krause [mailto:m...@henningkrause.eu] > Sent: 08 August 2012 5:49 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > Hi Bob, > > done: > https://sourceforge.net/tracker/index.php?func=detail&aid=3555380&grou > p_id=105970&atid=642714 > > Kind regards, > Henning > > > -Original Message- > > From: Bob Arnson [mailto:b...@joyofsetup.com] > > Sent: Wednesday, August 08, 2012 6:32 PM > > To: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation > > > > On 08-Aug-12 12:00, Henning Krause wrote: > > > Unhandled exception at 0x0FF45EE6 (wixstdba.dll) Setup.exe: > 0xC005: > > > Access violation reading location 0x0018. > > Please file a bug so it doesn't get lost in e-mail. > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > > > -- > > > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ___ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -- > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the latest in > malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions will include endpoint security, mobile security and the > latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/l
[WiX-users] Localizing PermissionEx user="Everyone"
I am trying to give everyone permission to start and stop my Windows service. This works fine when installed under English Windows but not for German. Problem is with util:PermissionEx User="Everyone". util:PermissionEx User="Jeder" works for German. Is there some way to make it language independent? I've seen various comments saying that Everyone should be translated to the SID automatically by WiX, but this doesn't seem to work for me. Code snippet: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizing-PermissionEx-user-Everyone-tp7579747.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Localizing PermissionEx user="Everyone"
I don't know if the element will take it, but this would be a perfect place for a localized string to build localized installers. -- 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: Kevin White [mailto:kevin.wh...@ubisense.net] Sent: Thursday, August 09, 2012 8:54 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Localizing PermissionEx user="Everyone" I am trying to give everyone permission to start and stop my Windows service. This works fine when installed under English Windows but not for German. Problem is with util:PermissionEx User="Everyone". util:PermissionEx User="Jeder" works for German. Is there some way to make it language independent? I've seen various comments saying that Everyone should be translated to the SID automatically by WiX, but this doesn't seem to work for me. Code snippet: -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Localizing-PermissionEx-user-Everyone-tp7579747.html Sent from the wix-users mailing list archive at Nabble.com. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] C++ Custom Action Dialogs
Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thinking that I could be wasting my time if WIX does not support this. Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] C++ Custom Action Dialogs
All I can think to say is "don't do it"! If this dialog is to show an error or to gather more user input, then how would this work in an unattended install? What if the installer is invoking this custom action from an elevated state? If you need a custom UI, then I would highly suggest in investigating burn. With burn your MSI can remain pure and property driven. If I had to guess, the reason you are having issues is because either you are invoking this custom action in a deferred state under the system context (in which case it doesn't have access to your desktop) or you are trying to create a MFC dialog from a dll. I seem to remember having to do some extra work to get a dialog to display from a DLL. Jacob -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 09, 2012 10:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C++ Custom Action Dialogs Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thinking that I could be wasting my time if WIX does not support this. Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] C++ Custom Action Dialogs
Hi Jacob, The dialog I want to display is the key dialog, the user has to enter the correct key for the software. This is all been created as we used it on our installshield wizards but now my job is to change all our installers to WIX. I was thinking of just re using the same dialog as it is all programmed, etc. What would you suggest I do otherwise? Yes it is an MFC dialog..:) Thanks Natalie -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 09 August 2012 17:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs All I can think to say is "don't do it"! If this dialog is to show an error or to gather more user input, then how would this work in an unattended install? What if the installer is invoking this custom action from an elevated state? If you need a custom UI, then I would highly suggest in investigating burn. With burn your MSI can remain pure and property driven. If I had to guess, the reason you are having issues is because either you are invoking this custom action in a deferred state under the system context (in which case it doesn't have access to your desktop) or you are trying to create a MFC dialog from a dll. I seem to remember having to do some extra work to get a dialog to display from a DLL. Jacob -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 09, 2012 10:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C++ Custom Action Dialogs Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thinking that I could be wasting my time if WIX does not support this. Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ShellExec launching a Binary.
I have a button that was previously using the WixShellExec custom action to launch a URL in the browser. Now I'd like to change it to launch an RTF file I've stuck in the Binary table. I've played with it some, but I can't get it to work. What's the best way to do this? -J -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] C++ Custom Action Dialogs
I hope you aren't under the illusion that scheduling the Key CA is at all going to prevent someone without a key from installing your software. It would not take much to use Orca or similar tools to remove your CA from the sequence and allow the install to continue. I believe the recommendation is to prompt for a key /activation during first run of the application. If you are hard set on this then I would ensure that your dialog is being invoked only during the InstallUI sequence. From there, you can test your CA outside of Windows Installer by simply having an export setup that invokes a generic MFC dialog. -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 09, 2012 11:26 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] C++ Custom Action Dialogs Hi Jacob, The dialog I want to display is the key dialog, the user has to enter the correct key for the software. This is all been created as we used it on our installshield wizards but now my job is to change all our installers to WIX. I was thinking of just re using the same dialog as it is all programmed, etc. What would you suggest I do otherwise? Yes it is an MFC dialog..:) Thanks Natalie -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: 09 August 2012 17:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] C++ Custom Action Dialogs All I can think to say is "don't do it"! If this dialog is to show an error or to gather more user input, then how would this work in an unattended install? What if the installer is invoking this custom action from an elevated state? If you need a custom UI, then I would highly suggest in investigating burn. With burn your MSI can remain pure and property driven. If I had to guess, the reason you are having issues is because either you are invoking this custom action in a deferred state under the system context (in which case it doesn't have access to your desktop) or you are trying to create a MFC dialog from a dll. I seem to remember having to do some extra work to get a dialog to display from a DLL. Jacob -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 09, 2012 10:50 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] C++ Custom Action Dialogs Hey, Been trying to create a dialog in C++ Custom Action project so that I can call it in one of my functions which my WIX msi will call. Is this possible as I've been trying to do it and am getting nowhere and now I'm thinking that I could be wasting my time if WIX does not support this. Kind Regards, Natalie Carr -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: WixStdBA crashes wih Access violation
On 09-Aug-12 09:02, Henning Krause wrote: > I have investigated the issue further and come to the conclusion that it > happens during an upgrade of an existing installation. It tries to do > something to the existing pacakage and looks up the package in the current > bundle using its id. When it does not find it, it fails with the access > violation. Upgrading was the key. This is now fixed for the next build. For posterity, here's the comment I added when I resolved the bug: At the end of an upgrade, the new bundle tells the old bundle to go away, like a post-InstallFinalize major upgrade. That's the GUID package id. The new bundle doesn't have a record of the old bundle id, so it blows up when it's not found. -- sig://boB http://joyofsetup.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn: WixStdBA crashes wih Access violation
Thanks for the update. That does sound plausible as I found that when it crashed both the old and new version were in ARP, to uninstall you have to manually remove the oldest version first, if you try to remove the newer one it crashed again. Neil -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 09 August 2012 22:04 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn: WixStdBA crashes wih Access violation On 09-Aug-12 09:02, Henning Krause wrote: > I have investigated the issue further and come to the conclusion that it > happens during an upgrade of an existing installation. It tries to do > something to the existing pacakage and looks up the package in the current > bundle using its id. When it does not find it, it fails with the access > violation. Upgrading was the key. This is now fixed for the next build. For posterity, here's the comment I added when I resolved the bug: At the end of an upgrade, the new bundle tells the old bundle to go away, like a post-InstallFinalize major upgrade. That's the GUID package id. The new bundle doesn't have a record of the old bundle id, so it blows up when it's not found. -- sig://boB http://joyofsetup.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users