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