[WiX-users] Welcome to the "WiX-users" mailing list

2014-03-11 Thread Namrata Kumari
Welcome to the WiX-users@lists.sourceforge.net mailing list! To post to this list, send your email to: wix-users@lists.sourceforge.net General information about the mailing list is at: https://lists.so

Re: [WiX-users] ICE03 or "Unresolved reference"

2014-03-11 Thread Dmitry Nechaev
Hi All. Thanks for answering. Your support is very appreciated. I came to the same conclusion - looks like there are tables below in CrystalReports .msm file which WIX complains on, but these tables are improperly defined. By default WIX sees them, but with EnsureTable it failes somewhere with

Re: [WiX-users] Burn does not show close application warning during uninstall

2014-03-11 Thread Rob Mensching
Always interested in more contributors. Jump over to wix-devs mailing list to discuss how to get started. ___ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -Original Message- From: Georg von

Re: [WiX-users] Burn does not show close application warning during uninstall

2014-03-11 Thread Georg von Kries
I too thought I saw a feature request for "files in use" in WixStdBa but I cannot find it anymore. Maybe it was on the mailing list only. I am willing to contribute this feature for the WixStdBa. I've implemented this for our own projects, but it needs some cleanup and adjustments for the latest

Re: [WiX-users] How to read an MSI's Product GUID from Bootstrapper Application?

2014-03-11 Thread Mike Tanfield
I was able to add the version number via the binding variable, but I am unable to find variables for the GUIDS or URL. Is it possible to pass those variables to the bundle? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-read-an-MSI-s-Produc

[WiX-users] Using Heat to harvest by both project and dir and outputs going to same directory

2014-03-11 Thread bruce
I am struggling with best technique to take output from each heat harvest session in pre-build in VS2012. The application associated dlls go into the same directory as the executable as well as large directory structure from application content. Sorry, the email client doesn't support the tabbi

Re: [WiX-users] offline install

2014-03-11 Thread Rob Mensching
Actually, now that you mention it, maybe for NETFX 4.0 (and maybe ProjectAggregatorw) they do. ___ FireGiant | Dedicated support for the WiX toolset | http://www.firegiant.com/ -Original Message- From: keith.doug...@statca

Re: [WiX-users] offline install

2014-03-11 Thread Bob Arnson
On 11-Mar-14 16:44, Rob Mensching wrote: > NETFX 4.0 is required. And installed by the bundle if needed. > ProjectAggregator2.msi is only necessary if you have VS2008 installed. VS2005 only. I thoroughly enjoyed nuking that from v3.8 setup. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] offline install

2014-03-11 Thread Keith.Douglas
Root certificates mattered when I installed 3.7 on Server 2003 a few months ago. Nevertheless, I will await the log ... Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statca

Re: [WiX-users] offline install

2014-03-11 Thread Rob Mensching
NETFX 4.0 is required. ProjectAggregator2.msi is only necessary if you have VS2008 installed. The log file should show what the issue is. I doubt it's certificate issues since we don't sign our payloads, only the Bundle itself (and that doesn't trigger the issues with certificates). __

Re: [WiX-users] offline install

2014-03-11 Thread Keith.Douglas
That's understandable; are there any other prerequisites? Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6 keith.doug...@statcan.gc.ca Telephone | Téléphone 613-951-4405 Facsimile | Télécopie

Re: [WiX-users] offline install

2014-03-11 Thread Hoover, Jacob
You can't use a signed bundle to install the root certs for the cert which signed the bundle. -Original Message- From: keith.doug...@statcan.gc.ca [mailto:keith.doug...@statcan.gc.ca] Sent: Tuesday, March 11, 2014 3:21 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] offli

Re: [WiX-users] offline install

2014-03-11 Thread Keith.Douglas
Another way into the questions I asked: What precisely are the prerequisites for WiX 3.7 *itself*? Is there any particular reason why these are not in the bundle? Keith Douglas Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6 Statistique Canada | 170, promenade Tunn

[WiX-users] usassign variable value to Property value--Any help?

2014-03-11 Thread Mamidi, Balasubrahmanyam
string test = "xyz.msi"; sb.AppendFormat(@"");---throws ERROR. Thanks, Balu -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications.

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Carter Young
In that Case, create a directory in %USERS%/AppData/Local/AppName. Move the app.config file there til after the upgrade then use a CA, as you stated earlier to "merge" the 2 files, alleviating the need for a temporary name. Carter Quoting Soren Dreijer : > Carter, > > I can't easily chang

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
Carter, I can't easily change the location where these changes are made. It's an existing codebase that happens to use the app.config, so that's sort of where I have to start from (sadly). At this point, I think I'll just make a custom action that does this whole thing and be done with it. :) /

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
Phil, So, that will be a problem then because I *do* want the new app.config installed so that I can merge the existing changes into the new config file. On Tue, Mar 11, 2014 at 10:48 AM, Phil Wilson wrote: > A major upgrade with RemoveExistingProducts at the "end" will update > using file upda

Re: [WiX-users] offline install

2014-03-11 Thread Keith.Douglas
A co-worker is having trouble doing an offline install of Wix 3.7. I'll send along the log later on (once he can get me a copy), but meanwhile, based on my earlier mishaps: Does Windows 7 ship with the root certificates needed to validate the install? What prerequisites are needed beyond Project

Re: [WiX-users] How to do in wix v3.8 what setupbld.exe did

2014-03-11 Thread Dan Watson
Thanks for your reply. > In general, that's the best user experience. It's possible to use > MsiPackage/@DisplayInternalUI but it has limitations and ends up with > two UIs (the bundle and the .msi). Now everything makes sense and by relying on setupbld.exe thus far I just managed to ignore on

[WiX-users] Not Really: My problem. "Bundle Command line not passed to second MSI package"

2014-03-11 Thread Phill Hogland
For looking at this in the future reference I should add that original post was deleted because I discovered that I was delusional when I wrote "Bundle Command line not passed to second MSI package". An errant line of code was causing the specific behavior that one MSI had LOGVERBOSE set and the o

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Carter Young
I suggest using Jacob's Approach. Instead of keeping the app.config file, and trying all this mess with copy etc, write the changes that your tool makes to the registry, and only keep the settings that don't change in the app.config. Then every major upgrade, have your app read the regist

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Phil Wilson
A major upgrade with RemoveExistingProducts at the "end" will update using file update rules and altered data files will not be overwritten. Maybe the REP is early? --- Phil Wilson On Tue, Mar 11, 2014 at 10:25 AM, Hoover, Jacob wrote: > But if it hasn't been modified then you alread

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
The app.config is modified after installation by one of our tools. On an upgrade, I do want to install a new app.config since there could be new changes in it and I therefore need to (manually) migrate certain information from the old app.config to the new one. On Tue, Mar 11, 2014 at 10:25 AM, H

[WiX-users] wixbootstrapper cancel button while installation

2014-03-11 Thread tanu gupta
Hi, wix 3.7 We found an issue in wixbootstrapper window cancel button while installation. Once wix bootstrapper installation starts, our msi installation gets started with its own dialog. And if I cancel the bootstrapper window in between, installation do not proceed or roll back do not happen, i

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread tanu gupta
Hi, We found an issue in wixbootstrapper window cancel button while installation. Once wix bootstrapper installation starts, our msi installation gets started with its own dialog. And if I cancel the bootstrapper window in between, installation do not proceed or roll back do not happen, it just h

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Hoover, Jacob
But if it hasn't been modified then you already know what is in it. If a user manually modifies the file, then a major upgrade should not remove it. If it was modified with XmlFile CA's or the likes, were the original user choices persisted in the registry? -Original Message- From: Sor

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Soren Dreijer
Hey Jacob, It's an app.config file that's part of the installation, so a major upgrade will remove it and I'd like to make sure it's persisted so that I can migrate it as part of the upgrade flow. Cheers, Soren On Tue, Mar 11, 2014 at 9:30 AM, Hoover, Jacob wrote: > Taking a step back, I would

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Harold Wood (H10 Capital)
Yes..ahh well -Original Message- From: Soren Dreijer [mailto:dreijer+l...@echobit.net] Sent: Monday, March 10, 2014 6:58 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Generating a unique file name Hi Harold, Then we're back to doing a custom action, though, w

Re: [WiX-users] Generating a unique file name

2014-03-11 Thread Hoover, Jacob
Taking a step back, I would have to ask why you are needing to make a copy of a file with a random name. If it's a user modified file, then an upgrade shouldn't touch it. -Original Message- From: Soren Dreijer [mailto:dreijer+l...@echobit.net] Sent: Monday, March 10, 2014 8:58 PM To: G

Re: [WiX-users] Conditional SSPI / SQL Authentication on SqlScript

2014-03-11 Thread Carter Young
I know you probably don't want to hear this, but I've Seen: then Choose A condition based on what the user chose in your setup dialog, ie condition 1 is what you've described and condition 2 is Windows Authentication. Carter Quoting Levi Wilson : > I have a component that has multiple e

Re: [WiX-users] Conditional SSPI / SQL Authentication on SqlScript

2014-03-11 Thread John Cooper
Yes. In your case, if SQL_ADMIN_USERNAME and SQL_ADMIN_PASSWORD both evaluate to empty-string, then the sql:SqlDatabase will deploy with Windows Authentication. I use this pattern all the time. -- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mi

[WiX-users] Conditional SSPI / SQL Authentication on SqlScript

2014-03-11 Thread Levi Wilson
I have a component that has multiple elements. In my dialog sequence I allow the user to choose whether or not they want to use SQL or Windows Authentication for the connection. Each references my that currently looks like this: The problem is that will never work with Windows Authenticat

[WiX-users] Call Web Service in CustomAction method

2014-03-11 Thread DiegoS
I need to call an existing Web Service in al Custom Action method when the Application is Unistalled. I have my Custom Action Method where i have a reference to my webservice like this *using CheckPID.WCFReference;* * [CustomAction] public static ActionResult CheckPID(Session session)

Re: [WiX-users] Bundle Command line not passed to second MSI package

2014-03-11 Thread Phill Hogland
I could tell that the Command object was a single bundle instance. I had read somewhere that a mba needed to implement passing those values to a Msi and I was trying to find where to add code to add the values to the msiexec command line. In my chain I have a mixture of my MSIs and third-party MS

Re: [WiX-users] Bundle Command line not passed to second MSI package

2014-03-11 Thread Bob Arnson
On 08-Mar-14 17:04, Phill Hogland wrote: > I have a bundle with an mba and several nearly identical MsiPackages (which > install various printer drivers). So except for a different path to the msi > the bundle MsiPackage authoring is identical for each driver package. The > thing that I noticed i

Re: [WiX-users] Require fields/disable InstallButton in bootstrapper

2014-03-11 Thread Bob Arnson
On 07-Mar-14 14:02, Joel Dart wrote: > ... but I cannot figure out how to set ButtonNameState based on a different > variable or how to reevaluate such a condition. You could use BA functions in WiX v3.8 and later but that would only let you set the variables once, as part of planning. WixStdBA d

Re: [WiX-users] ICE03 or "Unresolved reference"

2014-03-11 Thread Bob Arnson
On 10-Mar-14 22:12, Dmitry Nechaev wrote: > There is no way for me to fix ICE03 error for this MSM using InsureTable for > the last dozen of tables commented out in the code above. WiX doesn't know what those tables are so it can't create them. If the merge modules are fundamentally broken, you c

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-03-11 Thread Bob Arnson
On 27-Feb-14 14:45, Phill Hogland wrote: > Is there a way to display an Information message to the Output window, > without having to set the 'Verbose' property and without it being either an > Error or a Warning. I don't think so. The "info" logging level doesn't really exist. -- sig://boB http:

Re: [WiX-users] How to do in wix v3.8 what setupbld.exe did

2014-03-11 Thread Bob Arnson
On 07-Mar-14 05:45, Dan Watson wrote: > 1) I understand the power of Bootstrapper project in bundling multiple MSI > setups (the Office installation being a good example) but is there an > equivalent of Burn command that would package my MSI setup as setupbld.exe > did with a command switches? N

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-11 Thread Arthur, Christopher
Thx, will give it a try,... Christopher Arthur -Ursprüngliche Nachricht- Von: Phill Hogland [mailto:phogl...@rimage.com] Gesendet: Dienstag, 11. März 2014 13:37 An: wix-users@lists.sourceforge.net Betreff: Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

Re: [WiX-users] ICE03 or "Unresolved reference"

2014-03-11 Thread Carter Young
Those Merge Modules have NEVER WORKED CORRECTLY. I can't even get those to work in VS2005. I have an app still on .NET 2.0. If you complain on the SAP Forums, SAP states that "the tool we use internally" to compile them "passes validadation," but they never tell you what that tool is...

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-11 Thread Phill Hogland
Here are the PrintUI commands that I use. I would test your parameters on a target machine in a admin CMD box prior to integrating into a msi. LPWSTR pwzAddPrinterCommand = L"\"%lsRunDll32.exe\" PrintUI.dll,PrintUIEntry /if /b \"%ls\" /f \"%ls\" /r %ls /m \"%ls\" /u /q /z /Gw"; LPW

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-11 Thread Phill Hogland
Regarding how to use the DifxExtension if you have the driver files, create a msi which installs the drivers files to a cache location. (At that point you, in general for any driver prior to using the DifxApi, you should be able to right click on the INF file and see the driver successfully instal

[WiX-users] add a dialog box with Five combo boxes in wix code?

2014-03-11 Thread Dhawal Arora
Hi, I am not able include a dialog box ,that should come second during installation and have five combo boxes ,namely A B C D E Here's my wix code: http://schemas.microsoft.com/wix/2006/wi"; xmlns:util=' http://schemas.microsoft.com/wix/UtilExtension'>

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-11 Thread Arthur, Christopher
Hi, I've downloaded the driver package via Windows Update. So I've got the needed files to install the printer using DIFxApp. In my Inf File are many different printer models listed. How do I select the correct one ? I've found (Difxapp Extension) in Wix Documentations, but how do I use it to

Re: [WiX-users] Installing HP LaserJet 4 Printer Driver on FILE instead of LPT1

2014-03-11 Thread Arthur, Christopher
Hi, are you quite shure that the AddPrinter Method work in this case. I've checked the available Printers on a clean Windows 7 machine. The Printer driver is not there and can't be downloaded at HP. You have to install the Printer using the Windows Automatic Update. Sincerly Christopher Arthu