Re: [WiX-users] how to add code signing to build script

2015-07-06 Thread David Burson
Setup.exe signtool Setup.exe Though it's easier to use a wixproj and the MSBuild tasks, and then just override the targets. -Original Message- From: David Burson [mailto:david_bur...@ntm.org] Sent: Monday, July 06, 2015 1:01 PM To: General discussion about the WiX toolset. Subject

[WiX-users] how to add code signing to build script

2015-07-06 Thread David Burson
Hi, I’m brand new to code signing. Just got my certificate through K Software, a Comodo reseller. I tried adding a call to kSignCMD.exe at the end of my build script, and it appears to work: the properties for my installer show my certificate, and the UAC prompt when I install also shows me

Re: [WiX-users] how can I set InstallCondition based on whether my bundle is 32 or 64 bit?

2015-07-02 Thread David Burson
imply downloading the exe every time. You're also relying on their detection, which should be solid but it is wasted do/execution time. Sent from my phone On Jul 2, 2015, at 1:11 PM, David Burson david_bur...@ntm.orgmailto:david_bur...@ntm.org wrote: oops - 3. “this site

Re: [WiX-users] how can I set InstallCondition based on whether my bundle is 32 or 64 bit?

2015-07-02 Thread David Burson
PerMachine=yes Permanent=yes Vital=yes Compressed=yes InstallCommand=/quiet /norestart InstallCondition=NOT VCInstalled / ?endif? -Original Message- From: David Burson [mailto:david_bur...@ntm.org] Sent: Wednesday, July 01, 2015 2:37 PM To: General discussion about the WiX toolset

Re: [WiX-users] how can I set InstallCondition based on whether my bundle is 32 or 64 bit?

2015-07-02 Thread David Burson
=VCInstalled ProductCode={}/ ExePackage SourceFile=$(var.KarteDir)\install\win\vcredist_x64.exe PerMachine=yes Permanent=yes Vital=yes Compressed=yes InstallCommand=/quiet /norestart InstallCondition=NOT VCInstalled / ?endif? -Original Message- From: David Burson [mailto:david_bur

[WiX-users] how can I set InstallCondition based on whether my bundle is 32 or 64 bit?

2015-07-01 Thread David Burson
Hi, I have a single bundle.wxs I use when I’m creating either a 64-bit and a 32-bit installer for my app. In my Chain, I have: ExePackage SourceFile=$(var.KarteDir)\install\win\vcredist_x64.exe PerMachine=yes Permanent=yes Vital=yes Compressed=yes InstallCommand=/quiet /norestart

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-15 Thread David Burson
Thanks for the tip, Phil. A couple questions about that: I assume without bal:Overridable=“yes”, my Variable’s are really constants? In this particular case, I just need constants. I have to declare them in my bundle.wxs so I can use them in my .wxl’s that localize my theme. For example, I

Re: [WiX-users] UserLanguageID vs. WixStdBALanguageId

2015-04-14 Thread David Burson
is actually using. On Thu, Apr 2, 2015 at 3:26 PM, David Burson david_bur...@ntm.org wrote: * UserLanguageID - gets the language ID for the current user locale. * WixStdBALanguageId - gets the language in effect for the WixStdBA user interface. When would these have different values

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-14 Thread David Burson
ok thanks Sean! Good to know. On Apr 12, 2015, at 7:59 PM, Sean Hall r.sean.h...@gmail.com wrote: The Window text is set too early to do anything about it from IBootstrapperBAFunction. You should localize that with a string in the wxl file. On Tue, Apr 7, 2015 at 2:17 PM, David Burson

Re: [WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-14 Thread David Burson
, and AcrobatWarningState just controls visibility of a warning text box in our custom theme. What specifically doesn't work ? David Burson wrote In the bundle I’ve tried Variable Name=MyVariable Value=MyValue / , and tried reading it in bafunctions.dll with LPWSTR my_variable = NULL

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-07 Thread David Burson
for everyone’s help. David On Apr 2, 2015, at 2:35 PM, David Burson david_bur...@ntm.orgmailto:david_bur...@ntm.org wrote: It works in OnDetectComplete!!! Thanks everyone for all the help. One question though: In my HyperlinkSidebarTheme wxl's, I use [WixBundleName] in several strings (Caption, Title

Re: [WiX-users] m_pEngine-GetVariableString syntax?

2015-04-03 Thread David Burson
I just tested: BalGetStringVariable in BAFunctions.dll does NOT work to get a custom variable defined in the bundle using Variable Name=“var_name” Value=“my value” / On Apr 3, 2015, at 9:20 AM, David Burson david_bur...@ntm.org wrote: Yes, thanks, I did use that for WixBundleName

[WiX-users] how to define a custom variable in bundle.wxs, and get its value in BAFunctions.dll?

2015-04-03 Thread David Burson
In the bundle I’ve tried Variable Name=MyVariable Value=MyValue /, and tried reading it in bafunctions.dll with LPWSTR my_variable = NULL; BalGetStringVariable(LMyVariable, my_variable); But that doesn’t work. Is there any way to do it?

Re: [WiX-users] m_pEngine-GetVariableString syntax?

2015-04-03 Thread David Burson
Yes, thanks, I did use that for WixBundleName. But I’m talking about getting a custom Variable from my bundle.wxs, not a burn variable (which I assume means the built-in variables, which I believe in the Bundle are referenced as WixVariable, not Variable). Or can I use BalGetStringVariable to

[WiX-users] UserLanguageID vs. WixStdBALanguageId

2015-04-02 Thread David Burson
* UserLanguageID - gets the language ID for the current user locale. * WixStdBALanguageId - gets the language in effect for the WixStdBA user interface. When would these have different values? I’m wondering if, since WixStdBALanguageId is new in v3.10, can I use UserLanguageID with v3.9

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-02 Thread David Burson
It works in OnDetectComplete!!! Thanks everyone for all the help. One question though: In my HyperlinkSidebarTheme wxl's, I use [WixBundleName] in several strings (Caption, Title). If I use one of those strings in value of Window in my HyperlinkSidebarTheme.xml, what is shown at install

[WiX-users] m_pEngine-GetVariableString syntax?

2015-04-02 Thread David Burson
Is there such a thing as m_pEngine-GetVariableString, and can it be used to get Bundle Variable values in BAFunctions.dll? If so, what is the syntax? Thanks very much! David -- Dive into the World of Parallel Programming

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-01 Thread David Burson
scenario you can copy it from source at https://github.com/wixtoolset/wix3/blob/develop/src/libs/balutil/inc/IBootstrapperBAFunction.h . On Mon, Mar 30, 2015 at 3:52 PM, David Burson david_bur...@ntm.org wrote: ok thanks Rob. That explains why I haven’t found an easy way to do this. I’m trying

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-01 Thread David Burson
oops, last 2 lines should read: hr = m_pEngine-SetVariableNumeric(L”WixBundleName, bundle_name); BalExitOnFailure(hr, Failed to set WixBundleName variable.”); On Apr 1, 2015, at 2:35 PM, David Burson david_bur...@ntm.orgmailto:david_bur...@ntm.org wrote: That was the problem - I had an old

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-04-01 Thread David Burson
variable which is used in that sample project. It should point to the install directory, typically C:\Program Files (x86)\WiX Toolset v3.10\. The header file should be in the SDK\VS2010\inc directory in that install directory. On Wed, Apr 1, 2015 at 9:27 AM, David Burson david_bur

Re: [WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-03-30 Thread David Burson
really expose it easily. _ Short replies here. Complete answers over there: http://www.firegiant.com/ -Original Message- From: David Burson [mailto:david_bur...@ntm.org] Sent: Monday, March 30, 2015 9:53 AM To: General

[WiX-users] BAFunctions.dll to set WixBundleName from the language of the user's computer

2015-03-27 Thread David Burson
Hi, I’m trying to create my own BAFunctions.dll. All I want to do with it is set WixBundleName based on the language of the user’s computer. Does something like that already exist somewhere? If not: I’ve tried to build src\burn\Samples\bafunctions VS2013 and VS2010. Lots of errors with