[WiX-users] How to close MSI Dialog without clicking on FINISH pushbutton?
Hi guys, I have been trying to close an MSI dialog from a custom dialog I created and have not been able to. I read some post here: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/What-does-Custom-OnExit-do-td5807840.html http://msdn.microsoft.com/en-us/library/aa369543(v=VS.85).aspx http://blogs.technet.com/b/alexshev/archive/2008/10/16/from-msi-to-wix-part-20-user-interface-required-dialog-boxes.aspx The following is my code: ... 1 1 ... ... The problem is that I keep getting routed back to the last screen which is the "Exit Dialog" or in my case the "MyFatalError" dialog. Here I need to click on the finish button to ensure that the MSI dialog is shutdown. Can anyone please help point out what I am missing? Thanks -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-close-MSI-Dialog-without-clicking-on-FINISH-pushbutton-tp7279763p7279763.html Sent from the wix-users mailing list archive at Nabble.com. -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn EXEPackage Condition does not get evaluated when MSIPackage Installation is cancelled
Rob, I have failed to get the to work. I think I need more time to understand the tool's layers. In the race for time I have done the following to at least get what is needed to for the bootstrapper to work for now. This way when the user cancel's an installation of the MSI via the UI, the "Plan" does not execute the VSTO and NETFX packages [which runs in repair mode when they are already installed on the machine] Not sure if this would be an acceptable practise. If this fails then I will need to resort to using other methods to generate bootstrappers for now. The below is my LOG from the Bundle. [0AC8:0928][2012-01-16T17:23:23]: Burn v3.6.2221.0, path: C:\Users\tina\Desktop\SOI.Bootstrapper.exe, cmdline: '' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'WixBundleName' to value 'Exact Synergy Office Integration Bootstrapper' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'WixBundleLog' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323.log' [0AC8:0928][2012-01-16T17:23:23]: Detect 4 packages [0AC8:0928][2012-01-16T17:23:23]: Setting version variable 'WixSOIInstalled' to value '5.0.359.0' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'NetFX40x64Install' to value '1' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'VSTO40x64Install' to value '1' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'NetFX40Install' to value '1' [0AC8:0928][2012-01-16T17:23:23]: Setting string variable 'VSTO40x86Install' to value '1' [0AC8:0928][2012-01-16T17:23:23]: Condition '(NetFX40Install >= 1) OR (NetFX40x64Install >= 1)' evaluates to true. [0AC8:0928][2012-01-16T17:23:23]: Detected package: dotNetFx40_Full_x86_x64.exe, state: Present, cached: Yes [0AC8:0928][2012-01-16T17:23:23]: Condition 'VSTO40x86Install >= 1' evaluates to true. [0AC8:0928][2012-01-16T17:23:23]: Detected package: vstor40_x86.exe, state: Present, cached: Yes [0AC8:0928][2012-01-16T17:23:23]: Condition 'VSTO40x64Install >= 1' evaluates to true. [0AC8:0928][2012-01-16T17:23:23]: Detected package: vstor40_x64.exe, state: Present, cached: Yes [0AC8:0928][2012-01-16T17:23:23]: Detected package: Ourproduct, state: Present, cached: Yes [0AC8:0928][2012-01-16T17:23:23]: Detect complete, result: 0x0 [0AC8:0928][2012-01-16T17:23:25]: Plan 4 packages, action: Install [0AC8:0928][2012-01-16T17:23:25]: Condition 'NOT NetFX40Install OR (VersionNT64 AND NOT NetFX40x64Install)' evaluates to false. [0AC8:0928][2012-01-16T17:23:25]: Setting string variable 'WixBundleRollbackLog_dotNetFx40_Full_x86_x64.exe' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323_0_dotNetFx40_Full_x86_x64.exe_rollback.log' [0AC8:0928][2012-01-16T17:23:25]: Planned package: dotNetFx40_Full_x86_x64.exe, state: Present, default requested: Absent, ux requested: Absent, execute: None, rollback: Install, cache: No, uncache: No, dependency: Register [0AC8:0928][2012-01-16T17:23:25]: Condition 'NOT VersionNT64 AND NOT VSTO40x86Install' evaluates to false. [0AC8:0928][2012-01-16T17:23:25]: Setting string variable 'WixBundleRollbackLog_vstor40_x86.exe' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323_1_vstor40_x86.exe_rollback.log' [0AC8:0928][2012-01-16T17:23:25]: Planned package: vstor40_x86.exe, state: Present, default requested: Absent, ux requested: Absent, execute: None, rollback: Install, cache: No, uncache: No, dependency: Register [0AC8:0928][2012-01-16T17:23:25]: Condition 'VersionNT64 AND NOT VSTO40x64Install' evaluates to false. [0AC8:0928][2012-01-16T17:23:25]: Setting string variable 'WixBundleRollbackLog_vstor40_x64.exe' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323_2_vstor40_x64.exe_rollback.log' [0AC8:0928][2012-01-16T17:23:25]: Planned package: vstor40_x64.exe, state: Present, default requested: Absent, ux requested: Absent, execute: None, rollback: Install, cache: No, uncache: No, dependency: Register [0AC8:0928][2012-01-16T17:23:25]: Condition 'NOT WixSOIInstalled' evaluates to false. [0AC8:0928][2012-01-16T17:23:25]: Setting string variable 'WixBundleLog_Ourproduct' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323_3_OurProduct.log' [0AC8:0928][2012-01-16T17:23:25]: Setting string variable 'WixBundleRollbackLog_OurProduct' to value 'C:\Users\tina\AppData\Local\Temp\Ourproduct_20120116172323_3_Ourproduct_rollback.log' [0AC8:0928][2012-01-16T17:23:25]: Planned package: Ourproduct, state: Present, default requested: Absent, ux requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister [0AC8:0928][2012-01-16T17:23:25]: Plan complete, result: 0x0 [0AC8:0928][2012-01-16T17:23:25]: Apply begin [0AC8:0928][2012-01-16T17:23:35]: Applying package: Ourproduct, action: Uninstall, path: C:\Users\tina\AppData\Local\Package Cache\{183B99EC-EF7E-46AC-ACA0-28D06BEE1604}v5.0.359.0\OurProduct, arguments: '(null)' [0AC8:0928][2012-01-16T17:24:06]: Rem
Re: [WiX-users] Burn EXEPackage Condition does not get evaluated when MSIPackage Installation is cancelled
Thanks Rob, will give it a go and keep informed if I manage to solve it. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-EXEPackage-Condition-does-not-get-evaluated-when-MSIPackage-Installation-is-cancelled-tp7183696p7186616.html Sent from the wix-users mailing list archive at Nabble.com. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn EXEPackage Condition does not get evaluated when MSIPackage Installation is cancelled
Addiditonal info: If I try to Disable the UI for the MSIPackage, it fails since the UAC is turned on and the prompt to key in the admin credentials are not shown. The MSI already have the "elevated" value in its package. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-EXEPackage-Condition-does-not-get-evaluated-when-MSIPackage-Installation-is-cancelled-tp7183696p7183801.html Sent from the wix-users mailing list archive at Nabble.com. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn + Launch Payload EXE after bootstrapp installation
Additioanally i tried to see what was in the log: [0138:01F4][2011-11-24T15:15:46]: Burn v3.6.2221.0, path: C:\Users\admin\Desktop\MyWSBootstrapper.exe, cmdline: '-burn.unelevated BurnPipe.{14712C86-EA18-4342-BCBC-AC3C46BFCF7C} {3E642A26-7786-4D71-BBCE-79FCD0B43A05} 3716' [0138:01F4][2011-11-24T15:15:46]: Setting string variable 'WixBundleName' to value '(null)' [0138:01F4][2011-11-24T15:15:46]: Setting string variable 'WixBundleLog' to value 'C:\Users\admin\AppData\Local\Temp\Setup_2024151546.log' [0138:01F4][2011-11-24T15:15:46]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\admin\Desktop\MyWSBootstrapper.exe' [0138:01F4][2011-11-24T15:15:46]: Error 0x8007007f: Failed to get BootstrapperApplicationCreate entry-point [0138:01F4][2011-11-24T15:15:46]: Error 0x8007007f: Failed to load UX. [0138:01F4][2011-11-24T15:15:46]: Error 0x8007007f: Failed while running [0138:01F4][2011-11-24T15:15:46]: Error 0x8007007f: Failed to run per-user mode. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Launch-Payload-EXE-after-bootstrapp-installation-tp7019706p7027367.html Sent from the wix-users mailing list archive at Nabble.com. -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Burn + Launch Payload EXE after bootstrapp installation
Thanks for the reply Bob :) I have tried the below but still did not get to launch the payload or an installed file via a chain MSI and Do I have to include this in the Bundle.wxs or am I missing something here? I still new to Burn, please excuse me if this is a simple question. thanks again -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Launch-Payload-EXE-after-bootstrapp-installation-tp7019706p7027203.html Sent from the wix-users mailing list archive at Nabble.com. -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Burn + Launch Payload EXE after bootstrapp installation
Hi All, Been playing around with burn recently and I would like to seek help on 2 questions. 1. How to Launch an executable installed via the MSI chained package? If I run the MSI as stand alone, I am able to launch the exe that it installs, but somehow this is not the case when included in the bootstrapper I am using this standard bootstrapper. 2. How to launch a payload file (exe) after installing running the bootstrapper? I am using my own custom theme file and noticed that there is a launch button, I am not sure how to include a launch condition into that section. I use this to refer to my own theme file. this is the section in the theme file that I am referring to &Launch Thanks in advance! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Launch-Payload-EXE-after-bootstrapp-installation-tp7019706p7019706.html Sent from the wix-users mailing list archive at Nabble.com. -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] ListView Icon inconsistency...
Hi Dominique I am also currently trying to achieve the same with my deployment project. The objective is to display a list of Prerequisites and have a "tick" or "cross" mark beside it to notify the users which are missing after the Welcome dialog. Would you mind sharing your knowledge and concept on this? Any code snippet is very appreciated. currently I only have pop up dialogs to notify which prerequisites are missing and this can get annoying if it keeps repeating itself for all missing prerequisite since it would not create good user experience for customers installing the MSI. thanks in advance cheers Prem -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/ListView-Icon-inconsistency-tp3930916p5129801.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How To Skip Custom Dilalog On Repair ?
Hi, I have done something similar but not during repair. this is the snippet i had used. it might give you some idea's 1. I had extended the standard WiXUI_Mondo source that you could download. I included the changes in a of my main installer. 2. Changed the portion which is necessary for the maintenenaceDialog part. Note that I have also included my own custom dialog UI in the portion. Below is some snippet that might help: 1 NOT PREVIOUSVERSIONSINSTALLED PREVIOUSVERSIONSINSTALLED 1 WixUI_InstallMode = "InstallCustom" OR (NOT PREVIOUSVERSIONSINSTALLED) WixUI_InstallMode = "Change" OR PREVIOUSVERSIONSINSTALLED WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove" the code snippet above is as reference, i believe you could make out the concept.. hope this helps :) good luck! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-To-Skip-Custom-Dilalog-On-Repair-tp4995427p5001612.html Sent from the wix-users mailing list archive at Nabble.com. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to check if JRE is installed using WIX
Thanks for the input :) -- View this message in context: http://n2.nabble.com/How-to-check-if-JRE-is-installed-using-WIX-tp4837649p4862476.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Signing MSI's
Thanks for the input. Shall give this a shot. When you say post build script.. do you mean you are using Votive to compile or from command line? thanks again. cheers! -- View this message in context: http://n2.nabble.com/Signing-MSI-s-tp4849477p4862471.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to check if JRE is installed using WIX
Hi, I am doing this for my package, not sure if this is the correct way, but might be of help: (JREINSTALLED) there might be better ways to achieve this but this works for my package and alerts users cheers -- View this message in context: http://n2.nabble.com/How-to-check-if-JRE-is-installed-using-WIX-tp4837649p4849482.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Signing MSI's
Hello Guru's I have begun my journey with wix and have found it very powerful. I intend to sign my MSI package with a valid cert. My code below is how I am doing it right now. the question is: 1. is this the valid way of achieving it? 2. what is the difference between the MSIPackageCertificate and MSIDigitalCertificate. Does the MSIPackageCertificate depend on the MSIdigitalCertificate? 3. If I choose to have multiple cabs for my package, do i have to sign each of the cab files? 4. Or am i better off manually signing the MSI package using signtool or else? thanks in advance and please excuse if this is a noob question, my googling skilss have failed me on this.. -- View this message in context: http://n2.nabble.com/Signing-MSI-s-tp4849477p4849477.html Sent from the wix-users mailing list archive at Nabble.com. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users