[WiX-users] Pass data into localization wxl file
Dear Experts After failing to use $(var.x) in my localization file, I tried to use utilize properties as suggested here http://stackoverflow.com/questions/6827931/is-it-possible-to-pass-variable-t o-wix-localization-file But I could not get the property to work as well: !(loc.Message_Foo) still returns the static unevaluated string for me, being literally Foo blah blah [Property1]. Where exactly do you define the property?, it was in the main wxs file after the Package element in my case? Or is there another way to pass constants into multiple localization files? Thanks ahead, Atb, Kristjan -- 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] Bundle fails on WIN2K machine .exe is not a valid Win32 application
That's just stopped me in my tracks. I've been converting our dotnetinstaller bootstrapper to use Burn but had no idea that would kill our Win2k support. Seriously not good. Is there a way round this? Can I easily compile the bootstrapper application myself with VS 2005? Thanks, Alex On 28 April 2012 05:05, Rob Mensching r...@robmensching.com wrote: No. Windows 2000 is not supported by the VS 2010 CRT. Windows XP (I think SP1+). On Fri, Apr 27, 2012 at 2:34 PM, Rich Dingle rdin...@accelitec.com wrote: Is the WiX Standard Bootstrapper Application compatible with Windows 2000? My individual MSI packages all work fine but all my bundles fail immediately even if I save them to a local folder: [bundleName].exe is not a valid Win32 application. Target Machine: Win2K Pro SP4 w/KB891861 'roll up' MSIEXEC.EXE v3.1.4000.1823 Build Machine: WiX 3.6.2823 VS 2010 Rich Dingle Accelitec, Inc. 2211 Rimland Drive, Suite 230 Bellingham, WA 98226 -- 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 -- virtually, Rob Mensching - http://RobMensching.com LLC -- 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 -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- 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] Bundle fails on WIN2K machine .exe is not a valid Win32 application
For reference: Visual Studio 2010 - The C run-time libraries support Windows XP with SP2, Windows XP with SP3, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Vista, Windows Server 2008, and Windows 7. http://msdn.microsoft.com/en-us/library/ws0swas0.aspx Neil -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 28 April 2012 05:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bundle fails on WIN2K machine .exe is not a valid Win32 application No. Windows 2000 is not supported by the VS 2010 CRT. Windows XP (I think SP1+). On Fri, Apr 27, 2012 at 2:34 PM, Rich Dingle rdin...@accelitec.com wrote: Is the WiX Standard Bootstrapper Application compatible with Windows 2000? My individual MSI packages all work fine but all my bundles fail immediately even if I save them to a local folder: [bundleName].exe is not a valid Win32 application. Target Machine: Win2K Pro SP4 w/KB891861 'roll up' MSIEXEC.EXE v3.1.4000.1823 Build Machine: WiX 3.6.2823 VS 2010 Rich Dingle Accelitec, Inc. 2211 Rimland Drive, Suite 230 Bellingham, WA 98226 -- 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 -- virtually, Rob Mensching - http://RobMensching.com LLC -- 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] Burn support for 32bit and 64bit .NET Framework 4 pre-requisite
Dear fellow developers, -- 1 -- I am using the Wix setup bundle as a guide for my own bootstrapper, but it seems to me that the official Wix installer does not work support installing .NET 4 Full on 64bit properly?: I.e. as far as I can tell the DetectCondition is incorrect, because it only targets 32 bit, and there will be no installation happening on 64bit? Fragment WixVariable Id=WixMbaPrereqPackageId Value=Netfx4Full / WixVariable Id=WixMbaPrereqLicenseUrl Value=NetfxLicense.rtf / 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 / PackageGroup Id=Netfx4Full ExePackage Id=Netfx4Full Cache=no Compressed=no PerMachine=yes Permanent=yes Vital=yes SourceFile=dotNetFx40_Full_x86_x64.exe DownloadUrl=http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6 -BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe DetectCondition=Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion) / !-- ExePackage Id=Netfx4x86 DownloadUrl=http://download.microsoft.com/download/5/6/4/5641DA81-E6FA-4550 -9F80-A1D862D9CFAA/dotNetFx40_Full_x86.exe Compressed=no PerMachine=yes Permanent=yes SourceFile=dotNetFx40_Full_x86.exe / -- /PackageGroup /Fragment From: http://wix.codeplex.com/SourceControl/changeset/view/a782416c7fbc#src%2fSetu p%2fBundle%2fNetfx.wxs i.e. should it be changed to just DetectCondition=Netfx4FullVersion OR Netfx4x64FullVersion, because the source is dotNetFx40_Full_x86_x64.exe ? -- 2 -- Also, I am going to try to point to the newest version of .NET 4 - currently 4.0.3 at http://www.microsoft.com/en-us/download/details.aspx?id=29053 Do you think this is better, and will it work? i.e. SourceFile=NDP40-KB2600211-x86-x64.exe DownloadUrl=http://download.microsoft.com/download/3/3/9/3396A3CA-BFE8-4C9B -83D3-CADAE72C17BE/NDP40-KB2600211-x86-x64.exe Atb, Kristjan -- 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] Bootstapper hangs
I'm trying to create a custom no-UI bootstrap application by subclassing CBalBaseBootstrapperApplication. It gets as far as my OnStartup method but then hangs. According to the debugger it's waiting on NtReadFile but I'm not sure how reliable that is. This is the (very short) log file I get: [0E00:12AC][2012-04-28T20:59:57]: Burn v3.6.2803.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\awl03\Projects\swish\bin\Debug\swish-0.6.0.exe, cmdline: '-burn.unelevated BurnPipe.{2F11948A-9E0C-4CB6-B1F2-2D0BD2829C23} {1860FB45-3024-4AC3-AC64-7DDF6429C40B} 5092' [0E00:12AC][2012-04-28T20:59:57]: Setting string variable 'WixBundleLog' to value 'C:\Users\awl03\AppData\Local\Temp\Swish_20120428205957.log' [0E00:12AC][2012-04-28T20:59:57]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\awl03\Projects\swish\bin\Debug\swish-0.6.0.exe' [0E00:12AC][2012-04-28T20:59:58]: Setting string variable 'WixBundleName' to value 'Swish' This is using the VS 2005 includes from the SDK. Are they actively maintained? Can someone shed some light on what is happening here? Thanks. Alex -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- 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] Bootstapper hangs
Also, the boostrapper .exe seems to spawn another instance of itself and it is that instance that is waiting on NtReadFile. Why would it do this? On 28 April 2012 21:07, Alexander Lamaison sw...@lammy.co.uk wrote: I'm trying to create a custom no-UI bootstrap application by subclassing CBalBaseBootstrapperApplication. It gets as far as my OnStartup method but then hangs. According to the debugger it's waiting on NtReadFile but I'm not sure how reliable that is. This is the (very short) log file I get: [0E00:12AC][2012-04-28T20:59:57]: Burn v3.6.2803.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\awl03\Projects\swish\bin\Debug\swish-0.6.0.exe, cmdline: '-burn.unelevated BurnPipe.{2F11948A-9E0C-4CB6-B1F2-2D0BD2829C23} {1860FB45-3024-4AC3-AC64-7DDF6429C40B} 5092' [0E00:12AC][2012-04-28T20:59:57]: Setting string variable 'WixBundleLog' to value 'C:\Users\awl03\AppData\Local\Temp\Swish_20120428205957.log' [0E00:12AC][2012-04-28T20:59:57]: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\awl03\Projects\swish\bin\Debug\swish-0.6.0.exe' [0E00:12AC][2012-04-28T20:59:58]: Setting string variable 'WixBundleName' to value 'Swish' This is using the VS 2005 includes from the SDK. Are they actively maintained? Can someone shed some light on what is happening here? Thanks. Alex -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- 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] Bootstapper hangs
On 28-Apr-12 16:07, Alexander Lamaison wrote: I'm trying to create a custom no-UI bootstrap application by subclassing CBalBaseBootstrapperApplication. It gets as far as my OnStartup method but then hangs. What are you doing in OnStartup? How are you calling Detect? -- 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] Bundle fails on WIN2K machine .exe is not a valid Win32 application
On 28-Apr-12 08:08, Alexander Lamaison wrote: Is there a way round this? Can I easily compile the bootstrapper application myself with VS 2005? You'd have to do the same thing to all of Burn too. -- 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] Pass data into localization wxl file
On 28-Apr-12 07:20, Kristjan Laane wrote: But I could not get the property to work as well: !(loc.Message_Foo) still returns the static unevaluated string for me, being literally Foo blah blah [Property1]. That means you're trying to use properties in a string that isn't formatted. -- 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] Bootstapper hangs
On 28 April 2012 21:18, Bob Arnson b...@joyofsetup.com wrote: On 28-Apr-12 16:07, Alexander Lamaison wrote: I'm trying to create a custom no-UI bootstrap application by subclassing CBalBaseBootstrapperApplication. It gets as far as my OnStartup method but then hangs. What are you doing in OnStartup? How are you calling Detect? Err ... I wasn't. I'd been working under the assumption the bootstrap application just handled UI and the only way it 'instructed' the engine was by returning ID codes from its methods. Now I see that WixStdBA calls methods of the engine to drive it. Is the required sequence of interactions documented anywhere or do I just have to pick WixStdBA apart? -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- 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] Bootstapper hangs
On 28/04/2012 21:45, Alexander Lamaison wrote: Now I see that WixStdBA calls methods of the engine to drive it. Is the required sequence of interactions documented anywhere or do I just have to pick WixStdBA apart? I've just been picking WixStdBA apart. I think a typical application will call Detect() at startup, and then when the user clicks Install it'll call Plan(). Once Plan completes it'll automatically call Apply(). For a BA with no UI I think you'd call Detect() in OnStartup(), Plan() in OnDetectComplete(), and Apply() in your OnApplyComplete() method. -- Bruce Cran -- 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] Bundle fails on WIN2K machine .exe is not a valid Win32 application
On 28 April 2012 21:18, Bob Arnson b...@joyofsetup.com wrote: On 28-Apr-12 08:08, Alexander Lamaison wrote: Is there a way round this? Can I easily compile the bootstrapper application myself with VS 2005? You'd have to do the same thing to all of Burn too. Is this feasible? I once tried to build WiX and vowed never ever ever again. Can Burn be built independently of the rest of WiX? -- Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org) -- 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] Pass data into localization wxl file
Thanks for the info Bob - but what determines whether a localized string is formatted or not? I just tried $(sys.CURRENTDIR) and that is not evaluated either! Is there any way to get outside information into localization files? I cannot have any language-independent static parts otherwise, which seems like a rather large limitation to me. Atb, Kristjan -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: 28 April 2012 21:19 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Pass data into localization wxl file On 28-Apr-12 07:20, Kristjan Laane wrote: But I could not get the property to work as well: !(loc.Message_Foo) still returns the static unevaluated string for me, being literally Foo blah blah [Property1]. That means you're trying to use properties in a string that isn't formatted. -- 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
Re: [WiX-users] Bundle fails on WIN2K machine .exe is not a valid Win32 application
It sounds like my best option is to simply compile my installers using VS 2008. Is there any reason not to take that approach? Rich - Rich Dingle Accelitec, Inc. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bundle-fails-on-WIN2K-machine-exe-is-not-a-valid-Win32-application-tp7507520p7509753.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
[WiX-users] Local file for WixStdbaLicenseUrl
I would like to use the WixStandardBootstrapperApplication.HyperlinkLicense but reference a local license file rather than an internet URL. I have embedded the license file using this syntax: BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.HyperlinkLicense Payload SourceFile=Resource\License.rtf / /BootstrapperApplicationRef I would have assumed the url would be set like this: WixVariable Id=WixStdbaLicenseUrl Value=file://./License.rtf / But that doesn't work. I can see my file in the .ba1 folder in the temp folder so I know it has been extracted as part of the bundle. Can anyone suggest who I can reference it? Thanks Neil Neil Sleightholm X2 Systems Limited n...@x2systems.commailto:n...@x2systems.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