Re: [WiX-users] IniFile trouble

2007-02-06 Thread Alexander
Could you please kindly show me an example how to do that? - Original Message - From: Bob Arnson To: Alexander Cc: wix-users@lists.sourceforge.net Correct. MSI needs a Directory table ID; a Property name won't suffice. However, you can provide a placeholder Directory elem

[WiX-users] Wix for COM+ object

2007-02-06 Thread Moni Chow
I can't remove the COM+ object when I uninstall the application so that it fails to re-install the application when it checks that the COM+ object already exists. Anybody could show me how to deal with COM+ object using Wix? Thank you very much!!! Best regards, Moni --

[WiX-users] Placing PDB next to assemblies in the GAC

2007-02-06 Thread Peli de Halleux
I am looking for a way to place the symbol files (pdb's) next to assemblies that are installed in the GAC (to get nice stacktraces). Has anybody already tried this? Thanks, Peli - Using Tomcat but need to do more? Need to su

Re: [WiX-users] Adding values under Uninstall registry key

2007-02-06 Thread Bob Arnson
Harvey Werner wrote: > I am not all the familiar yet with Windows Installer and I see that a > product install puts keys in the registry under > HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ > ProductCode} according to the names shown here. > > http://msdn2.microsoft.com/

Re: [WiX-users] Change feature install level

2007-02-06 Thread Bob Arnson
Stefan Seifert wrote: > I have a component A which has a Registry Key (lets call it: A.Registry) > with a value and I got a component B which has the same Registry Key > with a different value (lets call it: B.Registry). > You're going to run into problems: Component rules say that you shouldn

Re: [WiX-users] Property Modularization

2007-02-06 Thread Bob Arnson
Levi Wilson wrote: Alright, I'll try to tread slowly through this one... I have a merge module that has a settings file that is packaged with it. I have a file search setup within my merge module that sets an "OLDSETTINGS" property. Now, here is where things get fuzzy. IF the OLDSETTINGS e

Re: [WiX-users] Installing many files with wildcard

2007-02-06 Thread Bob Arnson
Goetz, Russ wrote: I have hundreds of .ico files that I would like to include in my WiX install. There has to be a better way than having hundreds of elements, one for each .ico file. Could someone tell me how to do this? You can use Tallow (v2) or Heat (v3) to generate your authoring. Wi

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Bob Arnson
Robert Randall wrote: If I mark the package as both 64bit and 32bit will things just work? Assuming of course that I put the correct conditions into the components. Packages can't be both x86 and x64. If you have any 64-bit components (to write to the 64-bit portions of the file system

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-02-06 Thread Bob Arnson
Levi Wilson wrote: It didn't seem to work. My other idea about using the MsiProcessMessage didn't work either. For some reason, it looks like MsiProcessMessage doesn't work from a CA when the CA is invoked from a Control Event? I started a thread on the msi newsgroup ( http://groups.google.

[WiX-users] Createing Permissions

2007-02-06 Thread Magus
I am trying to create the permissions for my application, and it seems like the one I set gets created, but the Default Permissions all get removed. Is this the correct behavior, and how do I if all I wanted was to add one or to edit an existing Default permission to a folder or Directory. -- Vie

[WiX-users] Adding values under Uninstall registry key

2007-02-06 Thread Harvey Werner
I know this question is really for Windows Installer gurus in general, so if there is a better place to ask this question, please be so kind as to redirect me. I am not all the familiar yet with Windows Installer and I see that a product install puts keys in the registry under HKEY_LOCAL_MACHINE\S

[WiX-users] いつも大変お世話にな っております。

2007-02-06 Thread FROM
真島洋子と申します。 このメールが届くかはわかりませんが、最後までお読みください。 突然ですが夜、急に淋しくなったり、泣きそうなくらい悲しくなる事ってありませんか? 男性はあまり無いですよね。 私は、と言うよりも女性の大半は経験しているんです。 結婚している女性は特に。 理由は人それぞれですが、セックスレスだったり、旦那の朝帰りとか暴力だったり…。 やっぱり一番辛いのは帰りが遅い旦那を待ってる時ですね。 でも、みんな淋しい思いなんかしたくないんです!! どうせ淋しい思いするんだったら、楽しい想いでかき消したと思うはずです。 旦那や彼氏に淋しい思いさせられてる女性達でサークルを作ったん

Re: [WiX-users] WixUI library support for 3.0

2007-02-06 Thread Ning Lin
Thanks for your help! It has resolved my problem now. Ning On 2/3/07, Mike Dimmick <[EMAIL PROTECTED]> wrote: Just a nitpicking correction: .wixlib files _are_ still supported. However, extension DLLs can now carry an embedded .wixlib, and this feature has been used for most of the WiX extende

Re: [WiX-users] FW: Granting Permissions to "Log on as a Service" through

2007-02-06 Thread Rob Mensching
Just added this feature request last week. Look at User/@LogonAsService. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zac Emmel Sent: Monday, February 05, 2007 1:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: Granting Permissions to "Log on as a Service" thro

Re: [WiX-users] Web Application Name trunacted @ 32 characters

2007-02-06 Thread Sankaranarayanan
May be its not a limitation of IIS - Because if I open Internet Information Services, right Click on Virtual Directory and Edit Properties - I am able to change the Application Name to more than 32 Characters. Only when setting from MSI - its restricted to first 32 characters. Please let me know

Re: [WiX-users] Web Application Name trunacted @ 32 characters

2007-02-06 Thread Rob Mensching
Limitation of IIS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sankaranarayanan Sent: Tuesday, February 06, 2007 2:00 PM To: wix-users@lists.sourceforge.net Cc: [EMAIL PROTECTED] Subject: [WiX-users] Web Application Name trunacted @ 32 characters Hi A

Re: [WiX-users] How can i make msiexec return a custom return code?

2007-02-06 Thread Rob Mensching
Unfortunately, no. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Tasanasanta Sent: Tuesday, February 06, 2007 2:24 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How can i make msiexec return a custom return code? Is there any way to make msiexec return a custom

[WiX-users] How can i make msiexec return a custom return code?

2007-02-06 Thread Don Tasanasanta
Is there any way to make msiexec return a custom defined return code that I specify? My msi is being launched from another program and I would like to return some custom information than what is already returned. - Using Tomc

[WiX-users] Web Application Name trunacted @ 32 characters

2007-02-06 Thread Sankaranarayanan
Hi All, >From WXS file - I am creating a Web Application with the following code and >using it in another WebVirtualDir node. Both Candle and Light run successfully and the MSI is created. When the MSI is executed - its creating the Virtual Directory with this Web application but the

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Matthew Rowan
I think my case is a little different since it is a .NET application and we have some third party dlls that don’t work on a 64-bit machine, so I just switch that component so they don’t install on the 64-bit machine. I don’t know when it is required specifically mark the package or components as

[WiX-users] Change feature install level

2007-02-06 Thread Stefan Seifert
Hello, I got the following situation: I have a component A which has a Registry Key (lets call it: A.Registry) with a value and I got a component B which has the same Registry Key with a different value (lets call it: B.Registry). Now if component A is installed A.Registry needs to be registered,

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Robert Randall
I'm not installing any DLLs, just two EXEs and a few device drivers. I'm handling the device drivers through the SetupAPI (considering the switch to DIFx) so I'm covered there by using the appropriate .inf entries. The EXEs are compiled for both i386 and AMD64 and I just want to be able to use

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Matthew Janulewicz
I'd like to add that I'm not really an idiot, and I didn't know that heat generated GUIDs now. When I was writing the original script a year ago I don't think it did. I'll have to look into that! -Matt _ From: Matthew Janulewicz Sent: Tuesday, February 06, 2007 10:46 AM To: Lev

[WiX-users] Installing many files with wildcard

2007-02-06 Thread Goetz, Russ
I have hundreds of .ico files that I would like to include in my WiX install. There has to be a better way than having hundreds of elements, one for each .ico file. Could someone tell me how to do this? Thanks in advance, Russ -

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Matthew Janulewicz
There exists (and I can't for the life of me find it again) a utility called mallow.exe which does the same thing as tallow, except it generates GUIDs for the components. As mentioned below, it spits out v2 wix code. I wrote a perl script that is kind of VisualStudio-centric in that it scans th

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-02-06 Thread Bob Arnson
Levi Wilson wrote: One clarification is that the restriction applies only to those control events with the same conditions. So you might be able to make it work if you change a property in the spawned dialog. Can you clarify this? Here are all of the entries in my ControlEvent ta

Re: [WiX-users] Any documentation on WiX/Windows Installer limits?

2007-02-06 Thread Bob Arnson
Alex Lian wrote: > I would point out that these big installers are not that uncommon a > scenario. I'm working > for a game developer currently, and in this industry *lots* of games are > regularly large installations. > Additionally, they're more regularly offering downloadable installs. > It's n

Re: [WiX-users] Overriding WiX default error codes

2007-02-06 Thread Bob Arnson
Lee Thompson wrote: Thanks, Mike. Yes, I'm talking about the error message itself. When I reuse the same Id as one that exists in caerr.wxi, e.g.: Install Failure: Couldn't open [1]. This will happen when [1] is locked by the system, or if it contains invalid XML. First, cancel this installatio

Re: [WiX-users] GUID stability between builds

2007-02-06 Thread Bob Arnson
Jesper Hogstrom wrote: To the best of my understanding there is no wix-macro that descends a folder structure and grabs everything it finds. Is that correct? Yes. How important is it to keep GUIDs stable over time for components? Is the better solution to get to it and simply specify all file

Re: [WiX-users] Removing Patch software

2007-02-06 Thread Bob Arnson
[EMAIL PROTECTED] wrote: 1) Is it possible to create an installer that will remove patch software and restore the original file Sure, you can create an MSI patch. There are some restrictions on when patches can be uninstalled but wh

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-02-06 Thread Bob Arnson
Levi Wilson wrote: > Well, my second idea does not work. Instead of publishing a > SpawnDialog event, I have a CA that displays a message box. However, > the Message box does not show up. Here are my functions to display a > message (see below). I'm certain that GenMessageBox gets called, >

Re: [WiX-users] Custom Action Sequencing

2007-02-06 Thread Bob Arnson
Jing Shiau wrote: > Does anyone have a way of forcing the sequence of custom actions? In WiX v2, you can't override provided sequencing. In WiX v3, you can mark a sequencing as overridable and the WiX CAs are so marked. However, you need to use the @Before and @After sequencing attributes rathe

Re: [WiX-users] IniFile trouble

2007-02-06 Thread Bob Arnson
Alexander wrote: This stuff ends up with an error "Unresolved reference to symbol 'Directory:PLANTSETTINGSDIR' in section 'Product:{F7998B08-BACB-4ABD-9ED3-FB97C1E66F73}'. Looks like light.exe doesn't want Directory attribute of IniFile tag to be a property, and expects a directory, which seem

Re: [WiX-users] Certificate install issue

2007-02-06 Thread Bob Arnson
Shaun Wilde wrote: Do you know how old is older? The version I am using is 2.0.4820.0 Rob's been in that code very recently -- try the latest weekly release from http://wix.sourceforge.net/releases/. -- sig://boB http://bobs.org -

[WiX-users] Property Modularization

2007-02-06 Thread Levi Wilson
Alright, I'll try to tread slowly through this one... I have a merge module that has a settings file that is packaged with it. I have a file search setup within my merge module that sets an "OLDSETTINGS" property. Now, here is where things get fuzzy. IF the OLDSETTINGS exist, the module will n

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Levi Wilson
I'm not sure where else it's talked about, but the above blog entry is by the author of heat I believe. -gg is the "generate guid" option, so you don't have to generate them yourself. Heat will setup a directory structure, and for each file (component) it will use the name if the directory you u

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-02-06 Thread Levi Wilson
Yes, the message that I am trying to display shows in the log, after it shows that I had entered my CA. I am not at work right now, but I can retrieve all that the log says at a later time if necessary. On 2/6/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Levi Wilson wrote: > Well, my second idea

Re: [WiX-users] shortcut Start in:

2007-02-06 Thread Thomas Svare
Bob, Thanks for the kindly response. So far I'm batting 2 for 3 on typo error type questions to the list. More than a little embarrassing. Thanks, Tom From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 06, 2007 11:29 AM To: Thomas Sv

Re: [WiX-users] Custom Action to run only on uninstall...

2007-02-06 Thread Wilson, Phil
The condition to use for an uninstall is REMOVE="ALL", it's true on an uninstall. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph O'Sullivan Sent: Tuesday, February 06, 2007 1:48 AM To: wix-users@lists.sourceforge.net Subject: [WiX-u

Re: [WiX-users] SpawnDialog resulting from "Next" button?

2007-02-06 Thread Levi Wilson
It didn't seem to work. My other idea about using the MsiProcessMessage didn't work either. For some reason, it looks like MsiProcessMessage doesn't work from a CA when the CA is invoked from a Control Event? I started a thread on the msi newsgroup ( http://groups.google.com/group/microsoft.pub

Re: [WiX-users] Prevent overwrite of existing files

2007-02-06 Thread Bob Arnson
Stefan Kuhr wrote: > I am currently developing our company's first install with WiX, everything > before was homegrown installers or InstallShield. My WiX-based install > distributes files that may also come with other installers for our product > and it is very, very important that the WiX-based i

Re: [WiX-users] shortcut Start in:

2007-02-06 Thread Bob Arnson
Thomas Svare wrote: How do I populate the Start In field of a shortcut? Use the Shortcut/@WorkingDirectory attribute. -- sig://boB http://bobs.org - Using Tomcat but need to do more? Need to support web services, securi

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Levi Wilson
In version 3 tallow.exe does not exist. You will need to use heat.exe. It's very easy to do this There is a good explanation of it here http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html of how to use it. Typically you'll run it like this (to do what you want): heat.exe di

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Nick Hennemann
take a look at the tallow.exe command...very helpful for this type of situation. From: [EMAIL PROTECTED] on behalf of Very Secret Sent: Tue 2/6/2007 4:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding tons of files to an MSI Can anyone help

Re: [WiX-users] x86 and x64 in same wxs / msi ?

2007-02-06 Thread Dana Gutride
Are you installing only 32-bit dll's? Do you have any problems with file and registry redirection to the 32-bit locations on a 64-bit os? If your program isn't affected by that, than you can use one package for both. I just wanted to mention that because just conditioning the components isn't t

Re: [WiX-users] Determine selected features from tree

2007-02-06 Thread Brian Simoneau
I think that !FeatureName is the current state of the feature and &FeatureName is the action to be performed. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Tuesday, February 06, 2007 4:30 AM To: wix-users@lists.sourcef

Re: [WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Simon Dahlbacka
Just a sidenote: Creating an installer that installs "fairly random" things does is IMO fairly suboptimal... The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with

[WiX-users] Adding tons of files to an MSI

2007-02-06 Thread Very Secret
Can anyone help me to automatically add a directory and all its contents to an MSI? The problem: I have a directory whose contents is auto generated and therefore can be considered fairly random. The directory may contain thousands of files so adding them manually with the tag is not an option.

[WiX-users] Removing Patch software

2007-02-06 Thread dave_cory
I am currently trying to develop a Wix solution that will allow me to install some patch software and then provide the ability to remove the patch software if required. However, all I have been able to do so far is apply the patch, copying original file away in the process and when I remove

[WiX-users] Custom Action to run only on uninstall...

2007-02-06 Thread Joseph O'Sullivan
What am I doing wrong today :-) What I am trying to do is run and exe file RemoveAll.exe at the end of the uninstall, I only want it to run on uninstall. Sample one has a custom action running on install and is working fine, Sample two is not working I am quite sure it is a mistake by me but I

Re: [WiX-users] Determine selected features from tree

2007-02-06 Thread Rob Hamflett
You can use !FeatureName to determine a feature's installation action. A value of 3 means it will be installed (if memory serves). Rob Nick Hennemann wrote: > New to Wix…. > > > > I see how to set the ‘level’ attribute to determine whether the item is > to be enabled or disabled by defaul