[WiX-users] Documentation of the complete Namespace Microsoft.Tools.WindowsInstallerXml.Bootstrapper
We want to develop a Managed Bootstrapper Application, and were looking for a Documentation or Online Help where the complete Namespace Microsoft.Tools.WindowsInstallerXml.Bootstrapper is documented. Is there something available like the DTF (Deployment Tools Foundation) which is a good help for developing managed custom actions? Mit freundlichen Grüßen, With best regards, Armin Seemüller Software Developer ASM Assembly Systems ASM AS RD 25 Rupert-Mayer-Str. 44 81379 Munich, Germany Tel.: +49 (89) 20800-48741 Fax: +49 (89) 20800-48328 Mobile:+49 (173) 70 68 961 mailto:armin.seemuel...@asmpt.com ASM Assembly Systems GmbH Co. KG; Registered office: Munich, Germany; Commercial registry Munich, HRA 92704; General Partner: ASM Assembly Systems Management GmbH; Managing Directors: Guenter Lauber, Mike Moehlheinrich; Registered office: Munich, Germany; Commercial registry Munich, HRB 174601 -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to set Checkbox selected by default in Wix bootstrapper?
I would like to add checkbox in welcome page of the wix bootstrapper. Modified the HyperlinkTheme.xml and add like, Checkbox Name=InstallDriver X=18 Y=191 Width=-11 Height=17 TabStop=yes FontId=3 Property= CHECKBOXPROPERTY CheckBoxValue=1 HideWhenDisabled=yesInstall Driver/Checkbox But the default value of the checkbox is unchecked.Please help me as soon as possible. Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-set-Checkbox-selected-by-default-in-Wix-bootstrapper-tp7593003.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to use the check box value in wix bootstrapper?
I have added one checkbox in the HyperlinkTheme.xml like, Checkbox Name=MyCheckBox X=18 Y=191 Width=-11 Height=17 TabStop=yes FontId=3 HideWhenDisabled=yesInstall Driver/Checkbox How can i use this in bootstrapper? I have modified the Bundle.wxs file like, MsiPackage SourceFile=..\..\..\..\install\MyMSI.msi InstallCondition=MyCheckBox ForcePerMachine=yes Vital=yes Visible=yes / But this doesn't work properly. It didn't install the MyMSI.msi but the check box value is selected. did I miss anything. Please help. Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-use-the-check-box-value-in-wix-bootstrapper-tp7593002.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Bootstrapper for .NET framework 4.0 install does not work properly
Hi All, I want to create a bootstrapper for .NET framework 4.0 install as a prerequisite for my application if it is not already present. Below is how i designed my Bundle in which i am referencing my other WIX project: ?xml version=1.0 encoding=utf-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; Bundle Name=OptimizerBootstrapper Version=1.0.0.0 Manufacturer=SuvraJyoti UpgradeCode={1A9F7A91-A9F9-428E-ACD0-5D48621A0C83} BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.RtfLicense / Chain !-- .NET Framework -- PackageGroupRef Id=Netfx4Full/ !-- Install Application -- MsiPackage Id=PipielineOptimizerEngineApp SourceFile=$(var.PipelineOptimizerEngineInstallPath)/ /Chain /Bundle Fragment !-- Check for .NET 4.0 -- util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4FullVersion / util:RegistrySearch Root=HKLM Key=SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full Value=Version Variable=Netfx4x64FullVersion Win64=yes / !-- Install .NEt 4.0 -- PackageGroup Id=Netfx4Full ExePackage Id=Netfx4Full DisplayName=Microsoft .NET Framework 4.0 Compressed=no Cache=yes PerMachine=yes Permanent=yes Protocol=netfx4 Vital=yes SourceFile=D:\Installables\.NET Framework 4\dotNetFx40_Full_x86_x64.exe InstallCommand=/passive /norestart /ChainingPackage RepairCommand=/passive /norestart /repair /ChainingPackage /q UninstallCommand=/uninstall /passive /norestart /ChainingPackage /q DetectCondition=Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion) / /PackageGroup /Fragment /Wix I am getting the below warning as well: /c:\CompletedBuilds\PLO\OptimizerBundle.wixobj : warning LGHT1109 : Found mismatched entry point Bundle. Expected Product for specified output package type.msi./ Also below are all the candle and light commands that i am using: %WiXDir%\candle -ext WixUIExtension -out %outputPath%\ -I .\TortInstaller\TortInstall.wxs %outputPath%\db.wxs %outputPath%\data.wxs %outputPath%\engine.wxs %outputPath%\security.wxs %outputPath%\gui.wxs -trace %WiXDir%\light -ext WixUIExtension -out %outputPath%\PipelineOptimizerEngineInstall_%VERSION%_%BUILD%.msi %outputPath%\TortInstall.wixobj pause ::Referencing the BUNDLE here %WiXDir%\candle -ext WixBalExtension -ext WixUtilExtension -out %outputPath%\ -dPipelineOptimizerEngineInstallPath=%outputPath%\PipelineOptimizerEngineInstall_%VERSION%_%BUILD%.msi -I .\TortInstaller\OptimizerBundle.wxs -trace %WiXDir%\light -ext WixBalExtension -ext WixUtilExtension -out %outputPath%\PipelineOptimizerEngineInstallBootstrapper_%VERSION%_%BUILD%.msi %outputPath%\OptimizerBundle.wixobj The PipelineOptimizerEngineInstallBootstrapper.msi that is created does not seem to work. My system does have .NET framework 4.0 but that should not mean that i should be getting the message as below on clicking the Bootstrapper msi: /The installation package could not be opened.Contact the application vendor to verify that this is a valid Windows installer package/ Also i get to see that the dotNetFx40_Full_x86_x64.exe is produced in the output path where the installers are ouput. Should this happen at all. Please help me in getting these to work. Regards, Suvra Jyoti -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper?
Assuming Checkbox works like a Button I would remove the Property and CheckBoxValue attributes as I do not think you need them. Then add this line to your bundle element to default it to checked: Variable Name= InstallDriver Type=numeric Value=1 / -Original Message- From: hkannans [mailto:hkann...@gmail.com] Sent: Friday, February 28, 2014 3:51 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? I would like to add checkbox in welcome page of the wix bootstrapper. Modified the HyperlinkTheme.xml and add like, Checkbox Name=InstallDriver X=18 Y=191 Width=-11 Height=17 TabStop=yes FontId=3 Property= CHECKBOXPROPERTY CheckBoxValue=1 HideWhenDisabled=yesInstall Driver/Checkbox But the default value of the checkbox is unchecked.Please help me as soon as possible. Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-set-Checkbox-selected-by-default-in-Wix-bootstrapper-tp7593003.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails
Thanks for the reply. The problem is that we are building a general purpose product and have no control on what the user is going to do. We test various scenarios before launching a product and this was one of our test areas. Now, I suppose we have fixed the issue. We have made that component 'Permanent' so that it is not executed during uninstall. We then created another component which has a 'RemoveFolder' element and that one runs upon uninstall. We have a custom action which removes any sharing before the folder is deleted. I know this is a very twisted approach, but, we were finding no other way to deal with this problem. Thanks. // Sudripta. -Original Message- From: Carter Young Sent: Thursday, 27 February, 2014 9:49pm To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails To Add to this, another option is to install/uninstall as the Local Administrator, not the Domain Administrator or Domain User Carter Quoting Carter Young ecyo...@grandecom.net: Can you not Remove the Product before moving the computer to the new Domain, the perform a reinstall in the new domain? Your Product unistall will always Fail, as the MSI database stores the USERID along with the Domain somewhere in the table that you can view with Orca, in the form Domain\USERID. Moving the Computer updates the Active Directory Service on your domain controller but will never update the MSI table as that is a Local Database, i.e. local to the machine the product is installed on. Carter Quoting sudrip...@sarangsoft.co.in: Hi All, In my setup I need to create a folder and give permissions to certain users. I have used the following code: Component Id='ComponentShare' Guid='Guid' util:FileShare Id='ShareProduct' Name='Shared' util:FileSharePermission User=AllUsers GenericExecute='yes' GenericRead='yes' Read='yes' / util:FileSharePermission User=ProdUser GenericAll='yes' / /util:FileShare CreateFolder util:PermissionEx User=Everyone GenericExecute='yes' GenericRead='yes' Read='yes' / util:PermissionEx User=[WUSER] Domain='[USEDOMAIN] GenericAll='yes' / /CreateFolder /Component Where 'ProdUser' and 'WUSER' are defined in two user elements. It is working perfectly. But, when the computer is moved to another domain or workgroup (after the product has been installed), the product removal starts failing. In the log it shows that 'ConfiguresmbUninstall' fails to get the SID and fails. But, this is not a desired outcome as product removal shouldn't fail. I don't need the permission to be removed as the whole folder itself is getting removed in a separate component using the 'RemoveFolder' element. To stop the permission from getting removed during uninstall, I added the following condition within the above component: Condition![CDATA[NOT REMOVE]]/Condition But, still the ConfiguresmbUninstall is getting executed and it fails for which the product removal fails. Please help me find a way to either make the removal to continue even if it fails, or stop the above component from getting executed during removal. Thanks. // Sudripta. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails
Thanks for the reply. Making a component 'Transitive' will make the condition get re-evaluated upon re-install but, nothing is happening during uninstall. During uninstall the component was still getting executed :-(. Now, I suppose we have fixed the issue. We have made that component 'Permanent' so that it is not executed during uninstall. We then created another component which has a 'RemoveFolder' element and that one runs upon uninstall. We have a custom action which removes any sharing before the folder is deleted. I know this is a very twisted approach, but, we were finding no other way to deal with this problem. Thanks. // Sudripta. -Original Message- From: Phill Hogland Sent: Friday, 28 February, 2014 12:13am To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails I think (and I am not an expert) that the Component condition is only evaluated the first time it is installed, unless you also mark the component as Transitive. So if you add that Condition statement to the component, I think you want to also add Component/@Transitive=yes. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Product-removal-fails-as-ConfiguresmbUninstall-fails-tp7592984p7592992.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? [P]
Classification: Public This is how I have mine: Page Name=Install Text X=170 Y=20 Width=-11 Height=60 FontId=2 DisablePrefix=yes#(loc.InstallHeader)/Text Text X=170 Y=100 Width=-11 Height=-129 FontId=3 DisablePrefix=yes#(loc.InstallMessage)/Text Text X=11 Y=-11 Width=246 Height=17 FontId=4 DisablePrefix=yes Visible=no TabStop=no#(loc.InstallVersion)/Text Checkbox Name=InstallClient1Checkbox X=180 Y=180 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client1Checkbox)/Checkbox Checkbox Name=InstallClient2Checkbox X=180 Y=200 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client2Checkbox)/Checkbox Checkbox Name=InstallClient3Checkbox X=180 Y=220 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client3Checkbox)/Checkbox Then in the bundle.wxs I have this (I have them all selected since by default we want the customer to install all the client software) Variable Name=InstallClient1Checkbox Type=numeric Value=1 / Variable Name=InstallClient2Checkbox Type=numeric Value=1 / Variable Name=InstallClient3Checkbox Type=numeric Value=1 / Chain Steve -Original Message- From: hkannans [mailto:hkann...@gmail.com] Sent: February-28-14 4:51 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? I would like to add checkbox in welcome page of the wix bootstrapper. Modified the HyperlinkTheme.xml and add like, Checkbox Name=InstallDriver X=18 Y=191 Width=-11 Height=17 TabStop=yes FontId=3 Property= CHECKBOXPROPERTY CheckBoxValue=1 HideWhenDisabled=yesInstall Driver/Checkbox But the default value of the checkbox is unchecked.Please help me as soon as possible. Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-set-Checkbox-selected-by-default-in-Wix-bootstrapper-tp7593003.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? [P]
Classification: Public Oops forgot to show how I check if checkbox is selected to install MSI: MsiPackage Id=Client_1 DisplayName=$(var.ProductName) SourceFile=SomeSoftware.msi Name=SomeSoftware.msi InstallCondition=InstallClient1Checkbox = 1 DisplayInternalUI=no Visible=no Cache=no Compressed=no Permanent=no Vital=yes /MsiPackage -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: February-28-14 8:25 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? [P] Classification: Public This is how I have mine: Page Name=Install Text X=170 Y=20 Width=-11 Height=60 FontId=2 DisablePrefix=yes#(loc.InstallHeader)/Text Text X=170 Y=100 Width=-11 Height=-129 FontId=3 DisablePrefix=yes#(loc.InstallMessage)/Text Text X=11 Y=-11 Width=246 Height=17 FontId=4 DisablePrefix=yes Visible=no TabStop=no#(loc.InstallVersion)/Text Checkbox Name=InstallClient1Checkbox X=180 Y=180 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client1Checkbox)/Checkbox Checkbox Name=InstallClient2Checkbox X=180 Y=200 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client2Checkbox)/Checkbox Checkbox Name=InstallClient3Checkbox X=180 Y=220 Width=-11 Height=17 FontId=3 TabStop=yes HideWhenDisabled=no#(loc.Client3Checkbox)/Checkbox Then in the bundle.wxs I have this (I have them all selected since by default we want the customer to install all the client software) Variable Name=InstallClient1Checkbox Type=numeric Value=1 / Variable Name=InstallClient2Checkbox Type=numeric Value=1 / Variable Name=InstallClient3Checkbox Type=numeric Value=1 / Chain Steve -Original Message- From: hkannans [mailto:hkann...@gmail.com] Sent: February-28-14 4:51 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper? I would like to add checkbox in welcome page of the wix bootstrapper. Modified the HyperlinkTheme.xml and add like, Checkbox Name=InstallDriver X=18 Y=191 Width=-11 Height=17 TabStop=yes FontId=3 Property= CHECKBOXPROPERTY CheckBoxValue=1 HideWhenDisabled=yesInstall Driver/Checkbox But the default value of the checkbox is unchecked.Please help me as soon as possible. Thanks in advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-set-Checkbox-selected-by-default-in-Wix-bootstrapper-tp7593003.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to set Checkbox selected by default in Wix bootstrapper?
Thanks. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-set-Checkbox-selected-by-default-in-Wix-bootstrapper-tp7593003p7593011.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Bootstrapper for .NET framework 4.0 install does not work properly
A project that creates a bootstrapper (and uses the Bundle element) should produce an EXE, and not an msi. An MSI does not have the appropriate 'entry point' which is what the error indicates. You might find it easier to use the built-in support for installing .Net 4.0. In my bootstrapper (exe) project I add: Bundle . BootstrapperApplicationRef Id=ManagedBootstrapperApplicationHost .. other files WixVariable Id=WixMbaPrereqPackageId Value=Netfx4ClientRedist / WixVariable Id=WixMbaPrereqLicenseUrl Value=NetfxLicense.rtf/ /BootstrapperApplicationRef /Bundle or look at: http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html you could also get a lot of information from src\ext\NetFxExtension\wixlib -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-for-NET-framework-4-0-install-does-not-work-properly-tp7593004p7593012.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Uninstall Patch Error 1706
Hi, I have two products that install from a cd. Both install and patch fine, but one of the products give ma a 1706 error only in Windows 8 and asks for the original media source when I try to uninstall an installed patch. Once I selected the original media source the source gets rejected and the installation fails. The other product installs and uninstalls like a charm. Both the product definitions like follow: Product Id=$(var.ProductCode) Name=$(var.ProductName) Language=1033 Version=$(var.ProductVersion) Manufacturer=$(var.ProductManufacturer) UpgradeCode=$(var.UpgradeCode) !--Package Details-- Package InstallerVersion=405 Compressed=yes InstallScope=perMachine Description=$(var. Description) InstallPrivileges=elevated AdminImage=yes/ !--Media-- Media Id=1 Cabinet=setup.cab EmbedCab=yes / Property Id=MSIUSEREALADMINDETECTION Value=1/Property /Product And the Patch Properties : Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?include ..\..\WixCommon\ProductSettings.wxi ? Patch AllowRemoval=yes Manufacturer=$(var.ProductManufacturer) MoreInfoURL=$(var.ArpUrlInfoAbout) Description=$(var. PatchDescriptionx64) DisplayName=$(var. PatchDisplayNamex64) Comments=$(var. PatchDescriptionx64) MinorUpdateTargetRTM=yes Classification=Update !--The Id in the Media element must be greater than the number of files in the original image; it should also take files from previous patches into account. If you're authoring a second patch and the previous patch used 5000 as Id and updated 11 files, then this number must be greater than 5011.-- Media Id=1608 Cabinet=setup.cab PatchBaseline Id=RTM Validate ProductId=no/ /PatchBaseline /Media TargetProductCodes Replace=no TargetProductCode Id=$(var. ProductCodex64)/ /TargetProductCodes PatchFamilyRef Id=xX64PatchFamily/ /Patch Fragment !--When choosing family names, don't use the same names in different products except for creating updates that are intended to apply to multiple products at once, because they contain some shared features.-- PatchFamily Id=PatchFamily Version=$(var.ProductVersion) Supersede=yes /PatchFamily /Fragment /Wix I did read about the AllowMediaLockdown registry setting and adding the setting to the registry solves the source resolution problem thus telling me that for some reason the source of that one particular product cannot be save. I have been on this for a while now and cannot crack the reason why this is happening to only one of the products on the cd. Please help ! Thanks in advanced. Christoffel le Roux This information is intended only for the person or entity to which it is addressed and may contain private, confidential, proprietary and/or privileged material and may be subject to confidentiality agreements. Any review, retransmission, dissemination, or any other use of or taking of any action in reliance upon this information, by persons or entities other than the intended recipient, is prohibited. If you received this in error, please contact the sender and delete the material from all storage media. FlowCentric is neither liable for proper, complete transmission of the information contained in this communication, any delay in its receipt or that the mail is virus-free. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to not copy a file in subsequent installations?
Also, I only get the files-in-use message when the installation fails. For example, if I don't include 1 of the required DLL to run the service, the service can't be started, so the installation fails. Then, I get the files-in-use message. But, if the installation is successful, I don't get the files-in-use message. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593013.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Product removal fails as ConfiguresmbUninstall fails
A very interesting approach Not that this list is made to discuss networking principles, but it isn't the job of a local setup to interfere with the distributed approach used in network design and security. If a share must be removed or user maintenance done, it should be handled by the group that was created for that. Brute Force Removal of Users in a Security list on the Folder Tab, IMO, should only be used as a last resort. Quoting sudrip...@sarangsoft.co.in: Now, I suppose we have fixed the issue. We have made that component 'Permanent' so that it is not executed during uninstall. We then created another component which has a 'RemoveFolder' element and that one runs upon uninstall. We have a custom action which removes any sharing before the folder is deleted. I know this is a very twisted approach, but, we were finding no other way to deal with this problem. Thanks. // Sudripta. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Detect if MS HotFix installed during Bundle installation?
The only API I'm aware of is the WMI one. This is a sample vb script that uses it: dim fso, a, qlist, qfe, msg, qname, hfid quote = Set fso = CreateObject(Scripting.FileSystemObject) Set a = fso.CreateTextFile(qfelist.txt, True) Set qlist = GetObject(winmgmts:).InstancesOf (Win32_QuickFixEngineering) for each qfe in qlist qname = qfe.name hfid = qfe.hotfixid msg = Name= qname Caption= qfe.Caption ID= hfid Desc= qfe.Description a.writeline (msg) next --- Phil Wilson On Thu, Feb 27, 2014 at 3:23 PM, Shane Corbin shane_cor...@selinc.com wrote: I was planning on just creating a separate package for the msu as indicated here: http://wixtoolset.org/documentation/manual/v3/bundle/authoring_bundle_package_manifest.html http://wixtoolset.org/documentation/manual/v3/bundle/authoring_bundle_package_manifest.html There are separate hotfixes for each version of Windows. The package would conditional reference the appropriate hotfix for each version of Windows. The part I really need help with is how do I programmatically determine if a hotfix is already installed? Can I grep the registry for some the hotfix number? That seems rather implementation specific and I'd hate for that to change out underneath me. Can I query the add/remove programs easily? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detect-if-MS-HotFix-installed-during-Bundle-installation-tp7592971p7593000.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Detect if MS HotFix installed during Bundle installation?
This will trigger UACtoo soon I guess... -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Detect-if-MS-HotFix-installed-during-Bundle-installation-tp7592971p7593016.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Msu package is not allow me to add RemotePayload as attribute in WIX3.8
Hi all, WIX 3.7 allow us to add Remote payload as attribute for Msu package even though latest version WIX 3.8 not supporting this option and giving error during the project build. Now I am using visual studio 2013 and WIX 3.8 see my code below. MsuPackage Cache=no Compressed=no Permanent=yes Vital=yes KB=KB942288 Name=redist\WindowsInstaller4_5\Windows6.0-KB942288-v2-x86.msu DownloadUrl=http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/Windows6.0-KB942288-v2-x86.msu; InstallCondition=VersionNT=v6.0 AND NOT VersionNT64 AND VersionMsi lt; v4.5 RemotePayload ProductName=Windows Installer 4.5 Description=Windows Installer 4.5 Setup CertificatePublicKey=1E5D4BE4A6A94C089DA23126963A1EB8FF175A38 CertificateThumbprint=6EBDFB3CF5D0A9691F8700F96BB16D62D344F229 Hash=77DB6DD4A51E4C5BC2A474A87AE54C3CCE2DBB31 Size=1768236 Version=4.5.0.0 / /MsuPackage -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Uninstall Patch Error 1706
These might help. It's possible the patched file was never cached in the baseline cache (or was removed) or it wasn't a = MSI 3.0 patch: http://blogs.msdn.com/b/heaths/archive/2007/01/17/the-patch-cache-and-freeing-space.aspx and this may still be an issue: http://blogs.msdn.com/b/heaths/archive/2007/06/28/unchanged-files-break-patch-uninstall.aspx --- Phil Wilson On Fri, Feb 28, 2014 at 4:13 AM, Christoffel le Roux christoffe...@flowcentric.com wrote: Hi, I have two products that install from a cd. Both install and patch fine, but one of the products give ma a 1706 error only in Windows 8 and asks for the original media source when I try to uninstall an installed patch. Once I selected the original media source the source gets rejected and the installation fails. The other product installs and uninstalls like a charm. Both the product definitions like follow: Product Id=$(var.ProductCode) Name=$(var.ProductName) Language=1033 Version=$(var.ProductVersion) Manufacturer=$(var.ProductManufacturer) UpgradeCode=$(var.UpgradeCode) !--Package Details-- Package InstallerVersion=405 Compressed=yes InstallScope=perMachine Description=$(var. Description) InstallPrivileges=elevated AdminImage=yes/ !--Media-- Media Id=1 Cabinet=setup.cab EmbedCab=yes / Property Id=MSIUSEREALADMINDETECTION Value=1/Property /Product And the Patch Properties : Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; ?include ..\..\WixCommon\ProductSettings.wxi ? Patch AllowRemoval=yes Manufacturer=$(var.ProductManufacturer) MoreInfoURL=$(var.ArpUrlInfoAbout) Description=$(var. PatchDescriptionx64) DisplayName=$(var. PatchDisplayNamex64) Comments=$(var. PatchDescriptionx64) MinorUpdateTargetRTM=yes Classification=Update !--The Id in the Media element must be greater than the number of files in the original image; it should also take files from previous patches into account. If you're authoring a second patch and the previous patch used 5000 as Id and updated 11 files, then this number must be greater than 5011.-- Media Id=1608 Cabinet=setup.cab PatchBaseline Id=RTM Validate ProductId=no/ /PatchBaseline /Media TargetProductCodes Replace=no TargetProductCode Id=$(var. ProductCodex64)/ /TargetProductCodes PatchFamilyRef Id=xX64PatchFamily/ /Patch Fragment !--When choosing family names, don't use the same names in different products except for creating updates that are intended to apply to multiple products at once, because they contain some shared features.-- PatchFamily Id=PatchFamily Version=$(var.ProductVersion) Supersede=yes /PatchFamily /Fragment /Wix I did read about the AllowMediaLockdown registry setting and adding the setting to the registry solves the source resolution problem thus telling me that for some reason the source of that one particular product cannot be save. I have been on this for a while now and cannot crack the reason why this is happening to only one of the products on the cd. Please help ! Thanks in advanced. Christoffel le Roux This information is intended only for the person or entity to which it is addressed and may contain private, confidential, proprietary and/or privileged material and may be subject to confidentiality agreements. Any review, retransmission, dissemination, or any other use of or taking of any action in reliance upon this information, by persons or entities other than the intended recipient, is prohibited. If you received this in error, please contact the sender and delete the material from all storage media. FlowCentric is neither liable for proper, complete transmission of the information contained in this communication, any delay in its receipt or that the mail is virus-free. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral
[WiX-users] Using Fragments and Directory Structure
Can anyone shed some light on using Fragments/Component Groups and Directories? Our current installer is a HUGE (long) mess of Wix code mostly in the Product.xml and it's just unwieldy to say the least when it comes to modifying. In an effort to make that job easier (for me:) ) I tried to copy all the directory structure to one .wxs (example below) - ?xml version=1.0 encoding=utf-8? ?ifndef __DEFINITIONS_WXI__? ?include Definitions.wxi? ?endif? ?ifndef __VERSIONDEFINITIONS_WXI__? ?include VersionDefinitions.wxi? ?endif? Fragment Directory Id=TARGETDIR Name=SourceDir Directory Id=WINDOWSFOLDER SourceName=Windows FileSource=$(var.INSTALLIMAGEPATH)\[Windows] Directory Id=CURSORS Name=Cursors /Directory Directory Id=SYSTEMFOLDER SourceName=System32 FileSource=$(var.INSTALLIMAGEPATH)\[System32] /Directory /Directory Directory Id=PROGRAMMENUFOLDER Name=Programs Directory Id=TSSHORTCUTS Name=$(var.PRODUCTNAME_MAJORMINORVERSION) /Directory /Directory Directory Id=DESKTOPFOLDER SourceName=Desktop /Directory Directory Id=APPDATAFOLDER SourceName=Application Data Directory Id=APPDATAFOLDERMICROSOFT Name=Microsoft Directory Id=APPDATAFOLDERMICROSOFTIE Name=Internet Explorer Directory Id=APPDATAFOLDERMICROSOFTIEQL Name=Quick Launch / /Directory /Directory snip My understanding was that, for example, SYSTEMFOLDER would resolve into C:\Windows\System32 because of the nesting of the Directory entries in one another. All of this structure was pulled from the original installer code (which worked) the only difference being that in the original code we had Components sprinkled between the folders. My idea was to have the folder structure in one .wxs and the logic in another referencing the Directory names from my DirectoryStructure.wxs file. The first thing I ran into was the need to specify the Source path for all of my ComponentGroups - Fragment ComponentGroup Id=Ref_WAVFiles Directory=PROGRAM Source=$(var.INSTALLIMAGEPATH)\[ProductInstallationRoot]\Program Component Feature=TradeStationAll Guid={5D3EED4F-63BE-4B8F-96A8-EC39176CCDF4} Transitive=yes File Name=ahooga.wav KeyPath=yes Id=Guid_5D3EED4F63BE4B8F96A8EC39176CCDF4 / Condition1/Condition /Component Component Feature=TradeStationAll Guid={493B9108-2894-418F-9792-65E65D2D351B} Transitive=yes File Name=alarmclockbeep.wav KeyPath=yes Id=Guid_493B91082894418F979265E65D2D351B / Condition1/Condition /Component snip After getting past that I produced a .MSI but upon testing it I found that my folders were not nested as I was expecting but mostly came out either in my INSTALLDIR or at the root of C:\. My question is - can this be done this way at all? My impression from the Nick Ramirez Wix 3.6 book was that I could do this but there is something missing (at least for me) on how to truly accomplish this. All of the files we need to pack are laid out in a directory structure that mimics what needs to get packed ( '$(var.INSTALLIMAGEPATH)' ). Any input anyone can provide would be greatly appreciated. Thanks, Shaun TradeStation Group, Inc. is the parent company of five separate but affiliated operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, NFA and SIPC), IBFX, Inc. (Member NFA), IBFX Australia Pty Ltd, which is authorized and regulated by the Australian Securities and Investments Commission, TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Forex products and services are offered by the TradeStation Forex divisions of IBFX, Inc. (Member NFA) and IBFX Australia Pty Ltd (ASIC registered). -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net
Re: [WiX-users] How to not copy a file in subsequent installations?
I haven't seen anything here that says that the installation has failed. Are you saying it fails because it shows a files-in-use dialog, or it fails because it doesn't behave the way you think it should? Files-in-use dialogs are fairly normal, they are not failures, although in your case if the ServiceControl element was correct you should not see one. The issue here might be that you're in an upgrade, but you're not providing any information about whether this behavior is related to the uninstall of the older product or the install of the new one - both are happening in your upgrade. I don't understand that statement that you get the files-in-use dialog box after the failed installation - how can a dialog box show up the installation has failed? I also don't understand why you would exclude a Dll that the service needs. You should take a verbose log for the upgrade process and try to work out what's happening during the install (at InstallValidate, any files-in-use etc) and during the RemoveExistingProducts at the end where the older product gets uninstalled. There's too much happening during an upgrade to be able to point to where the problems might be, based on your posts. Service stops/starts, file overwrites based on version, failure to follow component rules, failure to name the service correctly are just some of the possible issues. --- Phil Wilson On Fri, Feb 28, 2014 at 6:39 AM, faujong fiefie.ni...@gmail.com wrote: Also, I only get the files-in-use message when the installation fails. For example, if I don't include 1 of the required DLL to run the service, the service can't be started, so the installation fails. Then, I get the files-in-use message. But, if the installation is successful, I don't get the files-in-use message. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593013.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to not copy a file in subsequent installations?
I also don't understand why you would exclude a Dll that the service needs. I did this on purpose so that I can duplicate the problem when an installation fails. I want to see how the installation behaves when it fails. One way to do it is to exclude a required DLL for the windows service to run. By doing this, my installation fails. Are you saying it fails because it shows a files-in-use dialog, or it fails because it doesn't behave the way you think it should? No, in this case, the installation fails because I exclude the DLL. The files-in-use dialog shows up because the installation fails. During successful installation, the files-in-use dialog does NOT show up. My question is, when the installation fails, if I select either one of the selection in the files-in-use dialog, and click OK, it did NOT roll back to the previous version. The installation left the new files in the installed folder, and also already deleted the DLL (that I purposely do not include in the installation to duplicate a failed installation). The only way to roll back to the previous version is to click Cancel. Is this by design ? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593021.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to not copy a file in subsequent installations?
Get a verbose log. I can't tell what's happening, and I don't know whether you re in a real world situation or one you've induced by omitting a required Dll and consequently you have a bunch of issues that would not happen in the real world. Why not just create a working upgrade, include the required files, and if you want to test a failure and a rollback then add a custom action to do it - don't omit required files and muddy the situation. If you're testing an install that you deliberately broke then the results are likely to be rather unpredictable. --- Phil Wilson On Fri, Feb 28, 2014 at 8:39 AM, faujong fiefie.ni...@gmail.com wrote: I also don't understand why you would exclude a Dll that the service needs. I did this on purpose so that I can duplicate the problem when an installation fails. I want to see how the installation behaves when it fails. One way to do it is to exclude a required DLL for the windows service to run. By doing this, my installation fails. Are you saying it fails because it shows a files-in-use dialog, or it fails because it doesn't behave the way you think it should? No, in this case, the installation fails because I exclude the DLL. The files-in-use dialog shows up because the installation fails. During successful installation, the files-in-use dialog does NOT show up. My question is, when the installation fails, if I select either one of the selection in the files-in-use dialog, and click OK, it did NOT roll back to the previous version. The installation left the new files in the installed folder, and also already deleted the DLL (that I purposely do not include in the installation to duplicate a failed installation). The only way to roll back to the previous version is to click Cancel. Is this by design ? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7593021.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Using Fragments and Directory Structure
You can certainly achieve the goal that you defined. What I do is a little different and is based on the structure that I observed in the Wix src\Setup (the source for the setup which deploys the tools). There you will see a CommonLib wixlib project. I define my folder tree (for many different setup projects) in that wixlib, putting each folder definition in a separate fragment. In a given MSI project which consumes this wixlib only those fragments which are referenced in the project are pulled into the MSI. So in the wixlib you might have Fragment Directory Id=TARGETDIR Name=SourceDir / /Fragment Fragment DirectoryRef Id=TARGETDIR Directory Id=ProgramFilesFolder Directory Id=INSTALLFOLDER Name=Company / /Directory /DirectoryRef /Fragment Fragment DirectoryRef Id=TARGETDIR Directory Id=ProgramFiles64Folder Directory Id=INSTALLFOLDER64 Name=Company / /Directory /DirectoryRef /Fragment Fragment DirectoryRef Id=TARGETDIR Directory Id=ProgramMenuFolder Name=ProgMenu Directory Id=ShortcutDir Name=Company / /Directory /DirectoryRef /Fragment Fragment DirectoryRef Id=TARGETDIR Directory Id=DesktopFolder Name=Desktop / /DirectoryRef /Fragment Fragment DirectoryRef Id=INSTALLFOLDER Directory Id=DSDir Name =app1/ /DirectoryRef /Fragment Fragment DirectoryRef Id=INSTALLFOLDER Directory Id=eRSDir Name =app2/ /DirectoryRef /Fragment I do not specify any source file information in the wixlib. In the MSI you can either put the Feature tree and the Components together or separate the component groups into separate Fragments, which I prefer. In the Product element have something like Feature Id=App1 Title=$(var.AppName) Level=1 InstallDefault=local TypicalDefault=advertise product registration keys etc... ComponentGroupRef Id=somefiles / ComponentGroupRef Id=some_other_files / /Feature And then in separate Fragments you can define ComponentGroups. When you specify a DirectoryId (defined in the fragment, in my case in the wixlib) it will pull that fragment into the msi. The DirectoryID can be set on the ComponentGroup, Component, or File elements. So if within a ComponentGroup different Components can use a different DirectoryId, which I think overrides the DirectoryId of a parent element (but I have not don that). -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-Fragments-and-Directory-Structure-tp7593019p7593023.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to get file size
VB.Net http://www.dotnetperls.com/file-size-vbnet Reading and Writing(Registry): http://social.msdn.microsoft.com/Forums/en-US/255841ae-7a18-47dd-913f-69222b068fe4/how-do-i-readwrite-to-the-registry-in-vbnet?forum=Vsexpressvb As for WiX determining FileSize it Cant, but: Reading: http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/read_a_registry_entry.html Writing: http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/write_a_registry_entry.html Carter Quoting eric foka nanafo...@yahoo.fr: How can I get a file size and store it in a registry? Thx. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to get file size
How can I get a file size and store it in a registry? Thx. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to check the size of a file
I tried something like this to to check the file size but it'not working. Property Id=FILESIZE DirectorySearch Id=FILESIZE Path=ProgramFiles\App\bin FileSearch Name=erlsrv.exe MinSize=156000/ /DirectorySearch /Property Condition Message=This application requires .NET Framework 2.0. Please install the .NET Framework then run this installer again. ![CDATA[Installed OR FILESIZE]] /Condition Can somebody help? -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to get file size
Thx Le Vendredi 28 février 2014 13h16, Carter Young ecyo...@grandecom.net a écrit : VB.Net http://www.dotnetperls.com/file-size-vbnet Reading and Writing(Registry): http://social.msdn.microsoft.com/Forums/en-US/255841ae-7a18-47dd-913f-69222b068fe4/how-do-i-readwrite-to-the-registry-in-vbnet?forum=Vsexpressvb As for WiX determining FileSize it Cant, but: Reading: http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/read_a_registry_entry.html Writing: http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/write_a_registry_entry.html Carter Quoting eric foka nanafo...@yahoo.fr: How can I get a file size and store it in a registry? Thx. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Conditional dynamic dialogs
Does anyone know a way to dynamically create a dialog depending on a property setting. Looks like you can perform a condition on a Control but not on a specific RadioButtonGroupI could create a custom action to present the dialog but would prefer not to. If necessary will just create an entirely separate dialog, but would prefer not to. Feature tree is no good since we need mutually exclusive options, unless I am missing something there as well. For example I would like to display the following dialog optionally showing/enabling the C3 button depending on whether or not some property has been previously set: Dialog Id= ConfigurationDlg Width=370 Height=270 Title=!(loc.WelcomeDlg_Title) KeepModeless=yes NoMinimize=yes Control Id=Title Type=Text X=15 Y=6 Width=200 Height=15 Transparent=yes NoPrefix=yes Text={\WixUI_Font_Title}Please select the configuration: / Control Id=Which Configuration Type=RadioButtonGroup X=40 Y=55 Width=330 Height=120 Property=Configuration RadioButtonGroup Property= Configuration RadioButton Value=C1 Text=Configuration1 Width=200 Height=17 X=40 Y=0 / RadioButton Value=C2 Text=Configuration2 Width=200 Height=17 X=40 Y=20 / RadioButton Value=C3 Text=Configuration3 Width=200 Height=17 X=40 Y=40 / /RadioButtonGroup /Control /Dialog Thanks! NOTICE: The information contained in this electronic mail transmission is intended by Applied Vision Corporation and its affiliates for the sole use of the named individual or entity to which it is directed, and may contain confidential information and/or trade secrets. This electronic mail is not intended for transmission to, or receipt by, anyone other than the named addressee (or a person authorized to deliver it to the named addressee). This electronic mail should not be copied or forwarded to any unauthorized persons. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by calling Applied Vision Corporation at 330.926., so that our address record can be corrected. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] WIX 3.7 project not working in WIX 3.8
Please advise, . msu file not included as Remote payload in WIX3.8 That works in 3.7. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to check the size of a file
Is ProgramFiles\App\bin is a valid path in this situation? I have not tried this but I am wondering if you intended to provide a path relative to a directory ID. [directoryID]\App\bin -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-check-the-size-of-a-file-tp7593026p7593030.html Sent from the wix-users mailing list archive at Nabble.com. -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to not copy a file in subsequent installations?
installFailedToStartServiceNoRollback.log http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceNoRollback.log installFailedToStartServiceRollback.log http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installFailedToStartServiceRollback.log installSuccess.log http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/file/n7593031/installSuccess.log Hi Phil, Attached are 3 log files 1. installSuccess.log is the file when the installation was successful (no missing DLL) 2. installFailedToStartServiceRollback.log is the log file when the installation fails because of missing DLL (AppDBCredentials.dll), and I click Cancel, and the installation rolled back previous version 3. installFailedToStartServiceNoRollback.log is the log file when the installation fails because of missing DLL (AppDBCredentials.dll), and I selected Automatically close applications and attempt to restart them after setup is complete and click OK, and the installation finish with copying the latest .EXE, deleting the AppDBCredentials.dll, and does NOT roll back to previous version From what I can see, the difference between #1 and #2 is this lines (I mark it with --) *Successful installation log* MSI (s) (D0:A8) [14:37:48:845]: Note: 1: 2205 2: 3: Registry : MSI (s) (D0:A8) [14:37:48:846]: Note: 1: 2205 2: 3: TypeLib MSI (s) (D0:A8) [14:37:48:848]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2205 2: 3: Registry : MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2205 2: 3: TypeLib MSI (s) (D0:A8) [14:37:48:849]: Note: 1: 2727 2: - MSI (s) (D0:A8) [14:37:48:850]: Note: 1: 2205 2: 3: FilesInUse -- this line doesn't exist in the files-in-use prompt MSI (s) (D0:A8) [14:37:48:857]: Note: 1: 2727 2: Action ended 14:37:48: InstallValidate. Return value 1. MSI (s) (D0:A8) [14:37:48:858]: Doing action: InstallInitialize Action 14:37:48: InstallInitialize. Action start 14:37:48: InstallInitialize. MSI (s) (D0:A8) [14:37:48:859]: Machine policy value 'AlwaysInstallElevated' is 0 MSI (s) (D0:A8) [14:37:48:859]: User policy value 'AlwaysInstallElevated' is 0 Action 14:37:48: GenerateScript. Generating script operations for action: GenerateScript: InstallInitialize MSI (s) (D0:A8) [14:37:48:864]: PROPERTY CHANGE: Deleting ProductToBeRegistered property. Its current value is '1'. *Files-in-use prompt log* MSI (s) (7C:50) [15:46:15:367]: Note: 1: 2205 2: 3: Registry : MSI (s) (7C:50) [15:46:15:367]: Note: 1: 2205 2: 3: TypeLib -- MSI (s) (7C:50) [15:46:15:369]: Note: 1: 2205 2: 3: _RemoveFilePath -- this line doesn't exist in the successful installation MSI (s) (7C:50) [15:46:15:370]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'. MSI (s) (7C:50) [15:46:15:370]: Note: 1: 2205 2: 3: Registry : MSI (s) (7C:50) [15:46:15:370]: Note: 1: 2205 2: 3: TypeLib MSI (s) (7C:50) [15:46:15:371]: Note: 1: 2727 2: MSI (c) (B0:C4) [15:46:15:391]: RESTART MANAGER: Session opened. MSI (c) (B0:C4) [15:46:15:399]: Note: 1: 2262 2: ListBox 3: -2147287038 And, the difference between #2 and #3 *Files-in-use prompt Click cancel - Rollback log (This is after I click Cancel)* MSI (c) (B0:C4) [15:46:54:419]: PROPERTY CHANGE: Modifying WixUIRMOption property. Its current value is 'UseRM'. Its new value: 'DontUseRM'. MSI (c) (B0:C4) [15:46:56:567]: PROPERTY CHANGE: Modifying WixUIRMOption property. Its current value is 'DontUseRM'. Its new value: 'UseRM'. MSI (s) (7C:B8) [15:47:13:518]: I/O on thread 408 could not be cancelled. Error: 1168 : MSI (s) (7C:B8) [15:47:13:518]: I/O on thread 4296 could not be cancelled. Error: 1168 Action ended 15:47:13: InstallValidate. Return value 2. : Action 15:47:13: Rollback. Rolling back action: Rollback: Publishing product information *Files-in-use prompt Click OK - no Rollback log (This is after I click OK)* MSI (s) (A4:A4) [12:57:05:685]: Running as a service. MSI (s) (A4:A4) [12:57:05:686]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:687]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:920]: Running as a service. MSI (s) (A4:A4) [12:57:05:920]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:921]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:922]: Running as a service. MSI (s) (A4:A4) [12:57:05:923]: Opening per-machine managed SourceList. MSI (s) (A4:A4) [12:57:05:923]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:923]: Note: 1: 1402 2: UNKNOWN\Net 3: 2 MSI (s) (A4:A4) [12:57:05:923]: Added new source 'C:\_SMSTaskSequence\Packages\GBL000DE\' with index '1' MSI (s) (A4:A4) [12:57:05:925]: Running as a service. MSI (s) (A4:A4) [12:57:05:925]: User will be allowed to modify contents of SourceList. MSI (s) (A4:A4) [12:57:05:925]: Specifed