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

2015-04-03 Thread roberthyang
This worked fine for us inside OnDetectComplete on Wix 3.8 (released version). For example : // Check if Acrobat is installed by reading variable. LPWSTR sczAcrobatValue = NULL; BalGetStringVariable(L"AcrobatInstalled", &sczAcrobatValue); BalExitOnFailure(hr, "Fail

[WiX-users] Changing state in bafunctions.dll?

2015-04-03 Thread Cris Moore
I have a bundle with two MsiPackages. Both MSIs support major updates only. The first is the "main" installer and is always installed. The second MSI installs drivers and is optional. The option to install the drivers is a checkbox on the Welcome screen. Unfortunately, I can only seem to contr

[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 bundle.wxs, not a

Re: [WiX-users] [WIX]: How to extract the files in selected folder using MSI dialog.

2015-04-03 Thread John Cooper
How is WIXUI_INSTALLDIR used in your custom dialog? How does this dialog compare with the InstallDirDlg in WixUI_InstallDir? If there are differences, why are they different? Indirect property references are used to get INSTALLDIR updated out of the UI. It appears this is broken in your case

Re: [WiX-users] Modifying Request State

2015-04-03 Thread Phill Hogland
The chain is installed from top to bottom and uninstalled from bottom to top. Probably all you need to do is set XxxPackage/@InstallCondiditons so that both packages are installed or uninstalled as a pair with the ExePackage before the MsiPackage in the chain. -- View this message in context:

Re: [WiX-users] [WIX]: How to extract the files in selected folder using MSI dialog.

2015-04-03 Thread Dileep S
Please find the log files​ MSI4c6af.LOG ​​ MSI63f67.LOG ​ On Fri, Apr 3, 2015 at 6:17 PM, John Cooper wrote: > They've been stripped

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

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

2015-04-03 Thread Phill Hogland
Look at the sample, in src\burn\Samples\bafunctions\readme.txt, it even gives you the following example: //- // Example of reading burn variable. BalGetStringVariable(L"WixBundleName", &sczV

Re: [WiX-users] [WIX]: How to extract the files in selected folder using MSI dialog.

2015-04-03 Thread John Cooper
They've been stripped off. You'll need to put them up at a location accessible by URL. -- John Merryweather Cooper Senior Software Engineer | Integration Development Group | Continuing Development Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext: 431050 |jocoo...@jackhenry.com

Re: [WiX-users] [WIX]: How to extract the files in selected folder using MSI dialog.

2015-04-03 Thread Dileep S
I have added the log files. can you just tell me the reason why INSTALLDIR is not changing. On Fri, Mar 27, 2015 at 9:27 AM, Dileep S wrote: > Please find the log files attached here > > On Fri, Mar 27, 2015 at 12:31 AM, Nir Bar wrote: > >> Can you upload the log file? >> >> >> >> - >> Nir