Re: [WiX-users] I broke my project somehow...

2010-06-08 Thread Neil Sleightholm
Suggestions: 1. Create a new wixproj and compare the differences to see what is different. 2. Create a new wixproj and add your files/settings to it. Neil -Original Message- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: 07 June 2010 22:28 To: wix-users@lists.sourceforge.net

Re: [WiX-users] I broke my project somehow...

2010-06-08 Thread Michael He
I don't think gapearce can create a new wixproj since it sees that the wixproj is no longer registered with VS2008. Try to use the VSPackage Load Failure Analyzer (http://msdn.microsoft.com/en-us/library/bb491684.aspx) to analysis the problem. Thanks, Michael On Tue, Jun 8, 2010 at 2:42 PM,

Re: [WiX-users] Use a custom localization file to overwrite default forerror code

2010-06-08 Thread Yan Sklyarenko
As far as I can see, the standard texts are all marked with Overridable=yes attribute. If you override a particular string, you usually omit this attribute, and your value will replace the one defined in the standard extension. By the way, I just noticed you say we reference ... and

Re: [WiX-users] Optional Custom Actions?

2010-06-08 Thread Pally Sandher
You can't do it in Windows Installer so you can't do it with WiX. WiX only makes Windows Installer packages (MSI's MSP's), it's not some magical voodoo that allows you to do stuff you're not supposed to be able to for very good reasons. Use a bootstrapper to chain the .NET Framework 3.5

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Christopher Painter
Hmmm, I've not experienced depends / sxs issues in the past so I love to fill in the knowledge gap possibly exposed by that question.  And no, all my CA's are written in C# using DTF.  I'm told the application is broken.   I did create a manifest for A.DLL telling it had dependencies of the

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Christopher Painter
As I suspected, I brought up a clean machine and put the vcredist_x86.exe on it.  I then had the same behavior where loading B.DLL in depends resolved the sxs dll's but loading A.DLL which then loaded B.DLL failed to resolve the sxs dll's unless I created a manifest for A.dll telling it that it 

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Christopher Painter
Hmm, think I just stumbled into the depends / winsxs that you are talking about.  I noticed that I had depends 2.1 so I upgraded to 2.2 and suddenly the findings were different. For 2.1, when I loaded B.dll it resolved everything.  Now in 2.2 it finds MSVCR80.dll and MSVCP80.dll but then says

[WiX-users] error CNDL0242

2010-06-08 Thread Thomas Mathis
hello together, Does anyone know anything about this error? ...\Setup.wxs(6) : error CNDL0242 : Invalid product version '1...'. Product version must have a major version less than 256, a minor version less than 256, and a build version less than 65536. I have to build a msi package

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread David Watson
Hi, I've noticed this exact thing with the C++ runtimes in dependency walker, I just assumed that it was slightly wrong as the application worked. It can find direct dependencies in WinSxS but not dependencies of dependiencies. Dave -Original Message- From: Christopher Painter

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread dB .
I assume you've installed both crt redist EXE's from 8 and 9. That is the only correct way of deploying these. Generally two runtime dependencies is a crapshoot. There's magical code in the CRT that deals (unsuccessfully) with this kinds of scenarios and depending in which order they load it

Re: [WiX-users] error CNDL0242

2010-06-08 Thread Peter Shirtcliffe
Windows Installer limitation http://msdn.microsoft.com/en-us/library/aa370859%28v=VS.85%29.aspx -Original Message- From: Thomas Mathis [mailto:t...@bica.ch] Sent: 08 June 2010 14:07 To: wix-users@lists.sourceforge.net Subject: [WiX-users] error CNDL0242 hello together, Does anyone

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Christopher Painter
I asked this on this list because I know the WiX community has a lot of members who are strong in the ways of C++.  I'm afraid that if I asked in another group or StackOverflow type site I'll get answers of low quality since most developers (sadly) don't take deployment serious.  I think the

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Christopher Painter
I agree with you.  I worked here before some 5 years ago and I had a huge battle with a coworker where he wanted to use the sxs\system32 msm's provided my Microsoft and I wanted to add the vcredist packages to our bootstrapper.   I finally relented because I was sick of fighting and they have

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Pally Sandher
Personally I use XP 32-bit with SP3 all high priority updates from Windows Update as the baseline (no .NET of any flavour even though our app requires Framework 2.0) for my own my QA teams virtual machines (same for XP 64-bit with SP2, Vista x64 with SP2 Windows 7 x64). I figure if you can't

Re: [WiX-users] ICE48: Directory 'INSTALLDIR' appears to be hardcoded in the property table to a local drive, except it's not.

2010-06-08 Thread Andrew Hammond
That worked. It feels like using an un-defined variable, but... ok. :) A On Mon, Jun 7, 2010 at 7:20 PM, Rob Mensching r...@robmensching.com wrote: Don't put anything in the Property table. If you're always going to pass it in, you don't need it in the Property table. On Mon, Jun 7, 2010 at

[WiX-users] Am I doing something wrong, or is this a bug?

2010-06-08 Thread bpackard
I am attempting to build a project which contains a couple of rtf files outside the msi. I have built a small Project.wxs that displays the issue. In the project I have two components, each with a single file. One is embedded, the other may not be. When the Package is set to Compressed=yes the

Re: [WiX-users] ICE48: Directory 'INSTALLDIR' appears to be hardcoded in the property table to a local drive, except it's not.

2010-06-08 Thread Neil Sleightholm
It sort of is defined because it is child or TARGETDIR (usually) and that defaults to the ROOTDIR which is the drive with the most space. Rob blogged a bit about this: http://robmensching.com/blog/posts/2010/1/26/StackOverflow-what-does-Nam eSourceDir-refer-to Neil -Original Message-

Re: [WiX-users] I broke my project somehow...

2010-06-08 Thread gapearce
Ugh. I uninstalled/reinstalled wix 30 and still same problem. I eventually figured out that I had to do a devenv /resetskippkgs at the command line, and it all works again now. Thanks for your help everyone! -- View this message in context:

Re: [WiX-users] Creating a scheduled task using wix installer after running a setup.msi file

2010-06-08 Thread MaheshGuru Pawar
Hey Neil, I did try what you told but no luck so far. These are my changes as per ur advice CustomAction Id=CreateScheduledTask Return=check Directory=SystemFolder ExeCommand= C:\Windows\System32\schtasks.exe /create /tn MySchedule /tr

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Wilson, Phil
If you have a recent version from http://www.dependencywalker.com (at least version 2.2, I think) it handles SxS. Phil Wilson -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Tuesday, June 08, 2010 5:17 AM To: General discussion for

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread greenaj
I would only add dependencies in the manifest for immediate dependencies only . Don't add dependencies for B to A. For the mixed mode C++ dlls, they'l depend on their .NET assemblies they consume along with the version of the C/C++ runtime that their flavor of Visual Studio depends on.

Re: [WiX-users] Creating a scheduled task using wix installer after running a setup.msi file

2010-06-08 Thread Neil Sleightholm
I think you need to run msiexec and get a log file, that should show you what the problem is. Neil -Original Message- From: MaheshGuru Pawar [mailto:maheshgu...@hotmail.com] Sent: 08 June 2010 18:02 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Creating a scheduled task

[WiX-users] Detecting IIS version

2010-06-08 Thread Andres Juarez
Hi All, By searching in this list, it seems that the best way of gettign the IIS version is by using:IISMAJORVERSION and IISMINORVERSION. I am conditioning the installation of a component upon having IIS7.5 installed by using the below: Component Id=Bla

Re: [WiX-users] Detecting IIS version

2010-06-08 Thread John Cooper (Volt)
Did you include a reference to the IIS Extension lib? You may also need to use a PropertyRef before you can use these properties. -- John M. Cooper -Original Message- From: Andres Juarez [mailto:andresj_...@hotmail.com] Sent: Tuesday, June 08, 2010 11:30 AM To:

[WiX-users] Patching multiple instances of product using new purely Wix process.

2010-06-08 Thread d8xter
I am using the new Wix patching process to create my MSPs. I am having trouble with my patches working on multiple instances of my product. The patch complains that the product is not installed. Using the patchwiz process patching multiple instances worked. The patch runs against the default

[WiX-users] Escape single quote in a SQL Statement for MSI database

2010-06-08 Thread Uma Harano
Hi, I am trying to execute the following SQL statement on my msi database: cscript WiRunSQL.vbs MySetup.msifile:///\\emus\emus2\SetupTools\MsiTools\WiRunSQL.vbs%20MySetup.msi UPDATE `ActionText` SET `ActionText`.`Description` ='Configuration de [ProductName]... L'opération peut prendre

[WiX-users] How to schedule MaintenanceWelcomeDlg?

2010-06-08 Thread Nick Ramirez
We've found that if we've already installed our MSI, but then try to install it again (from the command line) and supply the ADDLOCAL property, it takes us to the ResumeDlg (this seems to happen for any MSI using a WiX dialog set). What we really want is for it to take us to the

Re: [WiX-users] How to schedule MaintenanceWelcomeDlg?

2010-06-08 Thread Nick Ramirez
I think this: CustomAction Id=ResetPreselected Property=Preselected Value= / InstallUISequence Custom Action=ResetPreselected After=CostFinalizeInstalled AND Preselected/Custom /InstallUISequence fixed my problem, but I'm still curious about how MaintenanceWelcomeDlg is included. Anyone

[WiX-users] Candle is ignoring preprocessor arguments

2010-06-08 Thread Adam Langley
Argh! We had a fully functional build server (TFS 2008), creating our installers, then on Friday the builds just started turning red. The problem seems to be, we pass variables to candle, which defines the root folder for all content file locations: e.g. (truncated) C:\Program Files\Windows

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Wilson, Phil
It's really a bit worse than that! What's in the manifest in the program is useful, but if there's a policy manifest in WinSxS that redirects it, beware of that. I believe that the VC Redists will install policy manifests that redirect callers up to the latest. If you install using merge

[WiX-users] Wix V2.0 sourcecode?

2010-06-08 Thread Pratapa Reddy Sanaga
Hi, I'm trying to download the source code for Wix V2.0, but I'm getting redirected from http://wix.sourceforge.net/downloadv2.html to this link for V3.0 download - http://wix.codeplex.com/. Can someone give me a pointer to V2.0 pointer? Thanks, Pratap. -- Vote for loksatta = vote for a

[WiX-users] Launch the Internet Problem

2010-06-08 Thread Ivan Petrus
Hi, I was trying to launch a browser and I’ve used these codes: Property Id=BROWSER RegistrySearch Id=DefaultBrowser Type=raw Root=HKCR Key=http\shell\open\command / /Property CustomAction Id=LaunchBrowser Property=BROWSER ExeCommand=www.google.com Return=asyncNoWait/

Re: [WiX-users] C++ Dependency Help

2010-06-08 Thread Kelly . Leahy
I'll repeat it again, in case it got missed earlier. I'd recommend looking at the output of sxstrace to see why it's not locating the assemblies you expect. That should be enlightening. I'd expect it to tell you exactly where it looked and why it didn't find what it was looking for

Re: [WiX-users] Wix V2.0 sourcecode?

2010-06-08 Thread Rob Mensching
WiX v2.0 source code is on CodePlex in the wix20 branch. The WiX 2.0 MSI is at http://wix.codeplex.com/releases/view/44406, Look at the right. On Tue, Jun 8, 2010 at 5:30 PM, Pratapa Reddy Sanaga pratap.san...@gmail.com wrote: Hi, I'm trying to download the source code for Wix V2.0, but I'm

Re: [WiX-users] Candle is ignoring preprocessor arguments

2010-06-08 Thread Rob Mensching
The value must be evaluating to blank because it would be failing if the variable was not defined at all. On Tue, Jun 8, 2010 at 3:22 PM, Adam Langley alang...@winscribe.com wrote: Argh! We had a fully functional build server (TFS 2008), creating our installers, then on Friday the builds

Re: [WiX-users] Escape single quote in a SQL Statement for MSI database

2010-06-08 Thread Rob Mensching
From the MSI SDK SQL Syntax: The Windows Installer* SQL syntax does not support the escaping of single-quotes (ASCII value 39) in a string literal*. However, you can fetch or create the record, set the field with the *StringData* or *IntegerData*property, and then call the *Modify* method.