[WiX-users] Search and replace?

2007-03-27 Thread Christer Solskogen
Hi! Is it possible to get wix to take input from the user, and use that input to search and replace some stuff in a configuration file (which includes a lot more config than just a username and password) If yes, could anyone point me in to the right direction of how? -- chs -

[WiX-users] RE : Registry are duplicated

2007-03-27 Thread Jacquet Fabian
There is a lot of mail about this in mailing list. But I don't understand what to do to resolve. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Jacquet Fabian Envoyé : mercredi 28 mars 2007 8:46 À : wix-users@lists.sourc

Re: [WiX-users] Registry are duplicated

2007-03-27 Thread Stefan Pavlik
Hi, The problem is with auto generation of Registry @ Id attribute. If you use the following code snippet you will get the same error: from the WiX.chm: If this attribute is not specified, an identifier will be generated by hashing the parent Component identifier, Root, Key, and Name. In yo

[WiX-users] Registry are duplicated

2007-03-27 Thread Jacquet Fabian
Hi, I have registered a lot of dll in my wix file. When I compile, It say me: primary key 'regBE0F48905C64AC279B15D9E4AD01FD72' in column 'Registry' are duplicated in table 'Registry' I don't understand. - Take Surveys. Ear

Re: [WiX-users] Build error

2007-03-27 Thread Brent Rockwood
It looks like you're missing the path to your resource compiler (rc.exe) in your path environment variable. Usually you will find it in the bin directory of the platform sdk (i.e. C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin). Cheers, Brent On 3/26/07, R Kishe <[EMAIL

Re: [WiX-users] Major upgrade problems (with installation of new product, post removal of old)

2007-03-27 Thread Vishal Srivastava
Thanks Bob. The InstallValidate action does appear twice in the log; however the first time is the new product's install and the second is the old product's uninstall (since I scheduled RemoveExistingProducts after InstallValidate)... could this be part of the problem? As for the new product'

Re: [WiX-users] Trouble building Wix 3

2007-03-27 Thread Bob Arnson
Brent Rockwood wrote: > I'm having a heck of a time trying to build 3.0.2420.0 from source. I > wonder if anyone is able to take a brief look at my make output and > tell me if I'm doing something obviously wrong. The output file in > full can be viewed at http://www.brentrockwood.com/makeoutp

Re: [WiX-users] Dynamic contents for ScrollableText control?

2007-03-27 Thread Bob Arnson
Chris Bardon wrote: Since it doesn't look like there's any way to refer to properties in a ScrollableText control (i.e. the [PROPERTY] references won't be resolved), is there any other way that anyone's figured out to dynamically generate the contents of one of these controls? I thought about

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Bob Arnson
Chris Bardon wrote: > -Force all upgrades to be major-Other than performance, is there any > reason that this is a bad idea? Our apps are reasonably small, so it > shouldn't take all that long, but I understand that in principle this is > a bad idea. > Says who? Major upgrades are a great idea

Re: [WiX-users] Major upgrade problems (with installation of new product, post removal of old)

2007-03-27 Thread Bob Arnson
Vishal Srivastava wrote: I've analyzed the verbose logs, but I can't seem to find the point where it trips up before it installs the new files. Look around the InstallValidate action; you'll see two, one for the old product's uninstall and one for the new product's install. You want the s

[WiX-users] Major upgrade problems (with installation of new product, post removal of old)

2007-03-27 Thread Vishal Srivastava
Hi, I've been struggling with a major upgrade scenario for quite a while. I have an MSI that's already deployed, and I'm building another one to replace the old version, so I'm making it a "major upgrade" (i.e., same UpgradeCode, different ProductCode, higher Version #, an Upgrade table, etc.)

[WiX-users] Detecting Office version?

2007-03-27 Thread Patrick Schmid
How do I use wix3 to detect the installed Office version and which applications are installed? I am mainly trying to detect whether Office 2007 is installed and whether Access, Excel, Outlook, PPT or Word 2007 are. Rob's blog mentioned that the logic they developed for the creative commons add-in w

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Wilson, Phil
It's just the definition of a minor upgrade. If you're not patching, then the remaining to choice is to update by reinstalling the package. http://msdn2.microsoft.com/en-us/library/aa370037.aspx Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Chris Bardon
Check out the tutorial here (http://www.tramontana.co.hu/wix/lesson4.php) Basically, you can't just run the MSI for small/minor upgrades-you have to pass in the command line msiexec /i install.msi REINSTALL=ALL REINSTALLMODE=vomus . Not sure why-can anyone here shed some light on the subject?

[WiX-users] Trouble building Wix 3

2007-03-27 Thread Brent Rockwood
Hey folks, I'm having a heck of a time trying to build 3.0.2420.0 from source. I wonder if anyone is able to take a brief look at my make output and tell me if I'm doing something obviously wrong. The output file in full can be viewed at http://www.brentrockwood.com/makeoutput. The section wit

Re: [WiX-users] Build error

2007-03-27 Thread Fredrik Grohn
If you are talking v3 it is because the pubca bits still hasn't been included in the official distribution. On a side note there are no pcaext.dll in v3 either as it has been replaced with separate extensions for COM+ and MSMQ setup. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread Justin Rockwood
You guys are absolutely right. I'm so sorry for leading you in the wrong direction. I'm an idiot. J I forgot that I hadn't fully implemented the Link feature yet. I'm sorry about that. I think, though, that you should be able to manually tweak the .wixproj file to make it work, although I haven't a

Re: [WiX-users] Can Votive use Visual Studio Macros/Env vars ..eg SolutionPath, ConfigurationName ect

2007-03-27 Thread Justin Rockwood
Although the feature to use $(var.Project.TargetPath) isn't done yet, you can still do what you want by using MSBuild variables. In your .wixproj file, add the following to a element: Configuration=$(Configuration) This will automatically add the -dConfiguration=Debug to the candle command l

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Chris Bardon
And the command line reinstall is where there's a major problem from an end user perspective. There's no way that I can convince users to run with a command line, so there needs to be some way to force the msi engine to run with those parameters. So far, I see a couple of options: -I'm already u

Re: [WiX-users] Build error

2007-03-27 Thread R Kishe
Where can I find pcaext.dll? It's not with the other binaries downloaded. Is there any other way I can re-build all the projects on my box? Thanks On 3/26/07, R Kishe <[EMAIL PROTECTED]> wrote: I am trying to build Wix 3.0 sources (with makefile.bat) on my box. It fails with following error

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Wilson, Phil
Minor upgrades need a command line install: msiec /i REINSTALL=ALL REINSTALLMODE=vomus would be a typical command line. A major upgrade requires a ProductCode change, identical UpgradeCode to the older version, plus entries in the Upgrade table. Major upgrades are unfortunately more of a

Re: [WiX-users] Another version of this product is already installed

2007-03-27 Thread Mike Poulson
Double click upgrade requires you to do a Major upgrade (or patch). So you also have to change the Product Code. Mike Poulson Network Engineer Tableau Software 400 North 34th Street, Suite 200 Seattle, WA 98103 206 633 3400 x.556 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

[WiX-users] Another version of this product is already installed

2007-03-27 Thread Chris.Rowland
I'm trying to come to grips with how upgrades are handled, and I was wondering if someone could shed some light on the subject for me. In an attempt to understand better, I've been trying to install a pseudo "minor upgrade". I installed the base version, then I tried to install the slightly mo

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread Simon Dahlbacka
On 3/27/07, John Vottero <[EMAIL PROTECTED]> wrote: I think you're looking in the wrong place. You said "There is no add as link option shown on my system when I right click the project on my my system. Add shows "New Item" "Existing Item" and "Folder"." "Add as link" doesn't show up when

Re: [WiX-users] Shortcut pointing toward product name

2007-03-27 Thread Wilson, Phil
Just to add some more dots, the shortcut contains the ProductCode guid, the Component guid and the feature name - see MsiGetShortcutTarget(..). Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sawyer, Shane Sent: Tuesday, March 27, 20

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread John Vottero
I think you're looking in the wrong place. You said "There is no add as link option shown on my system when I right click the project on my my system. Add shows "New Item" "Existing Item" and "Folder"." "Add as link" doesn't show up when you right click the project. You right-click the pro

[WiX-users] Dynamic contents for ScrollableText control?

2007-03-27 Thread Chris Bardon
Since it doesn't look like there's any way to refer to properties in a ScrollableText control (i.e. the [PROPERTY] references won't be resolved), is there any other way that anyone's figured out to dynamically generate the contents of one of these controls? I thought about setting the contents to

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread Simon Dahlbacka
On 3/27/07, Anthony Wieser <[EMAIL PROTECTED]> wrote: Can you, or anyone else for that matter, insert a link to another project, as Justin described here: No, not using Wix 3.0.2526 (why isn't the version number visible in the Visual studio about box btw?) Subject: Re: [WiX-users] Problem

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread Anthony Wieser
Can you, or anyone else for that matter, insert a link to another project, as Justin described here: Subject: Re: [WiX-users] Problems with Post Build Step and Dependencies inVotive > In Visual Studio, when you select "Add Existing File..." if you just click > "Add", then the file will

Re: [WiX-users] Shortcut pointing toward product name

2007-03-27 Thread Sawyer, Shane
Ahh, I see. It is pointed to the product name in order to check whether it's installed. (I knew this, just never was able to "connect the dots"!) My app wasn't working because I was missing a couple assemblies. Thanks for clearing that up for me. _ From: John Vottero [mailto:[E

Re: [WiX-users] Shortcut pointing toward product name

2007-03-27 Thread John Vottero
You’re creating an advertized shortcut (Advertise=”yes”). When you start an advertised shortcut, Windows checks to see if the component is installed, if it is, it starts it. If it isn’t, it installs it and then starts it. You need to change Advertised to “no” and there may be other details

Re: [WiX-users] Shortcut pointing toward product name

2007-03-27 Thread Sawyer, Shane
Sorry, I am using version 3. The spaces aren't there in my code. Everything works fine except the target of the shortcut. thanks _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 9:47 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users]

Re: [WiX-users] Shortcut pointing toward product name

2007-03-27 Thread Richard.Foster
You didn't mention which version of WiX you are using. I am still using version 2, and I have an additional "LongName" attribute on the shortcut. If you are using version 2 as well (and I suspect you're not), you may want to try adding one of those. I also notice that you seem to have space

[WiX-users] Shortcut pointing toward product name

2007-03-27 Thread Sawyer, Shane
I am trying to create a desktop shortcut, and its working except that the shorcut's target is the Product Name. What am I missing? A google search told me to add the keypath attribute to the file, but it still doesn't work. Here is my wxs code... thanks

Re: [WiX-users] How do I add reference to complus custom actions extensions (using votive)

2007-03-27 Thread Fredrik Grohn
Sorry, the COM+ bits still aren't in v3. They have bounced a couple of times, but are currently laying on Rob's table awaiting inclusion in the official release. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R Kishe Sent: Monday, March 26, 2007 7:36 PM To: wix-users@lists.source

Re: [WiX-users] Wix votive stable version

2007-03-27 Thread Chris Bardon
So far, I've been using the Votive 3.0 build without any problems. I think the only thing "unstable" about the build is that there could be breaking changes in future releases that mean you'll have to change your code. Other than the environment variable macros (being able to refer to project out

Re: [WiX-users] How do I remove a file on upgrade

2007-03-27 Thread Richard.Foster
Justin Dearing wrote: >So it seems like I have broken WiX rules and cannot properly fix them. More accurately, you have broken Windows Installer component rules. (WiX is only used to build the MSI file, and multiple files within the same component can be valid in some scenarios.) The mechanism th

Re: [WiX-users] WiX opens IIS connection, even when not necessary

2007-03-27 Thread Fredrik Grohn
This is a known problem, see bug #1067343: http://sourceforge.net/tracker/index.php?func=detail&aid=1067343&group_id=105970&atid=642714 The workaround is to set the property SKIPCONFIGUREIIS to "1" when you are not installing any components that require IIS configuration. From: [EMAIL PROTECTED]

[WiX-users] WiX opens IIS connection, even when not necessary

2007-03-27 Thread Pieter Philippaerts
Hi everyone, I have an odd problem with my WiX setup package. It contains a number of different features, some of which install a virtual directory. The problem occurs when I select a feature that doesn't use a virtual directory (or any other IIS component). For some reason, the installer trie

Re: [WiX-users] Adding records to MSI on the fly

2007-03-27 Thread Voranc Kutnik
Hello! I also have a problem with populating combobox with web sites and later use selected web site for creating virtual directory. Should my VB script have two functions: GetWebSites() and PopulateMSIWebSiteProperties()? Function GetWebSites populates combobox and function PopulateMSIWebSitePr

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-27 Thread Fredrik Grohn
Try using a dummy exe file instead. If you are having problems with managed stuff, try a native exe instead. There are plenty of info on the net about how to do this. Also I remember there being something funky like the id of the icon row having to be the name of the file, but I might be wrong..

Re: [WiX-users] Using Wix to register COM+ -> similar to regsvcs

2007-03-27 Thread Fredrik Grohn
GAC and COM+ are two completely different things. In order for the COM+ framework to be able to load the assembly it needs to either be in a directory provided to COM+ (see the ApplicationDirectory property of the COM+ Applications collection) or in GAC. IMHO, you are a lot better off if you are