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

2015-07-06 Thread David Burson
e.exe Setup.exe -o 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:0

[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
#x27;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 > mailto:david_bur...@ntm.org>> wrote: > > oops - > > 3. “this site” is > https:

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

2015-07-02 Thread David Burson
ndle element I have: Thanks, David On Jul 1, 2015, at 5:49 PM, Hoover, Jacob mailto:jacob.hoo...@greenheck.com><mailto:jacob.hoo...@greenheck.com>> wrote: You could use a preprocessor condition. IE: -Original Message- From: David Burson [mailto

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

2015-07-02 Thread David Burson
vid On Jul 1, 2015, at 5:49 PM, Hoover, Jacob mailto:jacob.hoo...@greenheck.com>> wrote: You could use a preprocessor condition. IE: -Original Message- From: David Burson [mailto:david_bur...@ntm.org] Sent: Wednesday, July 01, 2015 2:37 PM To: General discussion about

[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: So, the InstallCondition is checking the hardware my users are installing on to see which vcredist to install. Instead, I want the InstallCondition

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 ’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 declare a

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
t;); >> BalExitOnFailure(hr, "Failed to set AcrobatWarningState burn >> variable."); >>} >> >> AcrobatInstalled is read using Util: registry searches, and >> AcrobatWarningState just controls visibility of a warning

Re: [WiX-users] UserLanguageID vs. WixStdBALanguageId

2015-04-14 Thread David Burson
e theme that StdBA is actually using. > > On Thu, Apr 2, 2015 at 3:26 PM, David Burson wrote: > >> * UserLanguageID - gets the language ID for the current user locale. >> >> * WixStdBALanguageId - gets the language in effect for the WixStdBA >> user interface. &

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 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

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

2015-04-07 Thread David Burson
everyone’s help. David On Apr 2, 2015, at 2:35 PM, David Burson mailto: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). If I

[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 , and tried reading it in bafunctions.dll with LPWSTR my_variable = NULL; BalGetStringVariable(L"MyVariable", &my_variable); But that doesn’t work. Is there any way to do it? -- Dive into

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 > On Apr 3, 2015, at 9:20 AM, David Burson wrote: > > Yes, thanks, I did use that for WixBundleName. But I’m talking about getting > a custom from my bun

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 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 , not ). Or can I use BalGetStringVariable to get a custom variable fro

[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 values in BAFunctions.dll? If so, what is the syntax? Thanks very much! David -- Dive into the World of Parallel Programming The Go

[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 in my HyperlinkSidebarTheme.xml, what is shown at install time in th

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 mailto:david_bur...@ntm.org>> wrote: That was the problem - I had an ol

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

2015-04-01 Thread David Burson
environment 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 mailto

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

2015-04-01 Thread David Burson
ou 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 wrote: ok thanks Rob. That explains why I haven’t found an easy way to do this. I’m trying to replace our old Instal

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

2015-03-30 Thread David Burson
sible to change the name but wixstdba doesn't really expose it easily. > _ > Short replies here. Complete answers over there: http://www.firegiant.com/ > > > -Original Message- > From: David Burson [mailto:

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

2015-03-30 Thread David Burson
Thanks Phil, I’m just trying to make sure that when a user tries to uninstall my software, they can find it in Programs & Features (or when they are looking through Programs & Features, they don’t uninstall it because they don’t know what it is). That means the name that Programs & Features di

[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 VS2