Re: [WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Suraj Barkale
Thanks for the prompt reply Bob but if user has 'Oracle Instant Client' (which is nothing but a few dlls put in a folder in system path), it will be impossible to detect only using registry. And as you say searching all drives is a no-no.I have decided to code a CustomAction dll which calls LoadLi

Re: [WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Alexander Gnauck
Wilson, Phil wrote: > There's a vbscript WiGenXfm.vbs in the Windows Installer SDK. took a look at this script. It compares 2 MSI installations. But i have only 1 MSI file and want to create a transform which sets some properties (INSTALLDIR, ALLUSERS, SERIAL etc...) Alex ---

Re: [WiX-users] One issue

2006-10-09 Thread Bob Arnson
Marshall Cai (Comtech GEMS) wrote: One issue I’m from which the extended group of MS HWSW. Currently, I’m doing a research work on nested MSI with WIX. Do anyone know how to implement that with WIX. From the link http://www.mail-archive.com/wix-devs@lists.sourceforge.net/msg004

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-09 Thread Bob Arnson
Frank Tse wrote: I am wondering if setup should fail in the first place when it cannot put the DLL in GAC.  i.e. Netfx extension that puts DLL in GAC should fail when it cannot put DLL in GAC. MSI installs assemblies to the GAC by handing it off to the Fusion engine. Fusion undoubte

Re: [WiX-users] WiX UI Control Repository?

2006-10-09 Thread Bob Arnson
Peterson, Joel wrote: I’m sure I already know the answer to some of these questions, but I must ask. Is there a repository of user-submitted WiX UI content? Are there any available templates of some of the more popular dialogues that are used in MSI installers? Is there an unwri

[WiX-users] One issue

2006-10-09 Thread Marshall Cai (Comtech GEMS)
Title: One issue Hi All, I’m from which the extended group of MS HWSW. Currently, I’m doing a research work on nested MSI with WIX. Do anyone know how to implement that with WIX. From the link http://www.mail-archive.com/wix-devs@lists.sourceforge.net/msg00481.html, it seems no hope to do

Re: [WiX-users] WiX UI Control Repository?

2006-10-09 Thread david adams
Joel: What types of dialogs do you need? David Adams MSN MessengerID: [EMAIL PROTECTED] > >Hi all. > > > >I'm sure I already know the answer to some of these questions, but I >must ask. Is there a repository of user-submitted WiX UI content? Are >there any available templates of some of the

Re: [WiX-users] wix-users@lists.sourceforge.net

2006-10-09 Thread Fredrik Grohn
Yes, I am aware of this problem, and I have been working some larger changes that would make this problem go away among other things. I haven't made a lot of progress lately however, so since it is being raised here I'll try to get a fix in for this specific issue within the next week or so. Fredr

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-09 Thread Frank Tse
Thanks all for the info.   I guess the problem for me is that if the a DLL cannot be gac’d because of the same version, I would expect the setup to fail instead of finish without error.   That is especially a problem to me because I also “ngen” the DLL in the same element in WiX (see m

[WiX-users] WiX UI Control Repository?

2006-10-09 Thread Peterson, Joel
Hi all.   I’m sure I already know the answer to some of these questions, but I must ask. Is there a repository of user-submitted WiX UI content? Are there any available templates of some of the more popular dialogues that are used in MSI installers? Is there an unwritten spec to adhere to

Re: [WiX-users] WiX XML Issue

2006-10-09 Thread Douglas Watts
OK, either my questions are getting easier or I’m starting to get the hang of this.  I figured out that I need to escape the brackets and now it works fine. My follow-up question is how do I check an XML file to see if an element already exists?   If the appSettings element is already th

Re: [WiX-users] Hiding features

2006-10-09 Thread Bob Arnson
Sigurd Stenersen wrote: > And there is no way to delay CostFinalize to just before the featuretree > dialog is displayed ? > No. Costing happens early in the UI sequence. MSI expects the UI to have that information. > It IS possible to customize it from the outside using the command line to >

Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Bob Arnson
Mike Dimmick wrote: I'd take a guess that PowerShell is somehow messing up the parsing of the : and giving the two arguments "-cultures" "en-us", and that light's command-line parser then interprets "en-us" as being a source file for it to process. It then fails because it can't fin

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
John Ludlow wrote: >>> I ported your code to C++ and it does indeed work. >>> >>> That is, it hides features. It doesn't seem to work for features >>> with "children", but I can live with that. Thanks a lot for >>> sharing. >> >> >> Hmmm, interesting. I assumed that this would work recursively b

Re: [WiX-users] Customizing the uninstall progress dialog.

2006-10-09 Thread Jon W
Is this what you are looking for? Download and run dark against an msi that has this functionality. . . . On 10/8/06, Alex Mendes da Costa <[EMAIL PROTECTED]> wrote: > Thanks for suggesting th

[WiX-users] WiX XML Issue

2006-10-09 Thread Douglas Watts
I am trying to use the XmlFile element to modify the MACHINE.CONFIG file.  I need to add application settings for my app.  I need to add settings such that the config file ends up as follows:             First I create an “add” element.  Next, I want to set the element’s attribute

Re: [WiX-users] Error 1920 with Services

2006-10-09 Thread Bob Arnson
david adams wrote: > Turned out to be one of those ID10T errors. I was installing a Windows > Service whose function is to monitor a Microsoft Message Queue. It helps to > name the MQ correctly lest your service will fail to start. > You should try the new "suppress ID10T" switch -- work wo

Re: [WiX-users] Hiding features

2006-10-09 Thread John Ludlow
I ported your code to C++ and it does indeed work.That is, it hides features.  It doesn't seem to work for features with "children", but I can live with that.  Thanks a lot for sharing.   Hmmm, interesting.  I assumed that this would work recursively but obviously not.  Maybe you need to do the re

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
John Ludlow wrote: >> Another option is to use a custom action - that's what this vbscript >> code does: >> >> Set installer = Session.Installer >> >> Set database = Session.Database >> >> Function SetFeatureVisible(feature, order) [snip] I ported your code to C++ and it does indeed work. That is

Re: [WiX-users] Odd failure of XmlFile in wix-2.0.4221.0

2006-10-09 Thread Eric Fesh
We started out today by logging the file accesses and came up with some odd results that we're not sure what to make of... If you interpret the "good" log file, you see that three different msiexec processes access the file one after the other. However, the "bad" log file shows that one of the proc

Re: [WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
Bob Arnson wrote: > Sigurd Stenersen wrote: >> Is it at all possible to modify the number of features in the >> feature tree, from a DLL or using some sort of action ? >> >> I'm able to set the state of features, but I would like to present >> users with different trees depending on selections made

Re: [WiX-users] Modifying Machine.Config Under 2 Different Features

2006-10-09 Thread Cullen Waters
My first thought would be to create a third feature, which the user has to install, which then does the modification of machine.config. Then, you could put your xml modification in a new component, which gets installed with the ‘must install’ feature.   From: [EMAIL PROTECTED] [mail

Re: [WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Wilson, Phil
There's a vbscript WiGenXfm.vbs in the Windows Installer SDK. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexander Gnauck Sent: Monday, October 09, 2006 1:45 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] create transforma

Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Arnette, Bill
It is a PowerShell issue.  I have do to the same quoting when using NAnt when I want to pass a property on the command line.  Ex. Nant -D:property=value  in cmd.exe has be typed in PowerShell as Nant "-D:property=value".  Thinking about it, it may have to do with how it parses the command li

[WiX-users] Modifying Machine.Config Under 2 Different Features

2006-10-09 Thread Douglas Watts
WIX Version: 2.0.4415.0   My installer will install two different products (companion products).  While the user would normally install one on one machine and the other on another machine, they could install both on the same machine.  I need to modify the MACHINE.CONFIG regardless of whic

Re: [WiX-users] tallow in v3?

2006-10-09 Thread Peterson, Joel
Heat.exe is your new friend. The WiX Tutorial is still v2, but with enough v2 experience and some reading through the WiX Users mailing list, v3 is very easy to pick up. Joel Peterson [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tor

[WiX-users] tallow in v3?

2006-10-09 Thread Torsten Rudnick
What is the equivalent tool of tallow in Wix v3 and how do I extract registry entry from COM components? Maybe there is a new way of installing COM components I should know? So many questions and so less answers. Where can I find a documentation about WiX v3? The tutorial I have describes only

Re: [WiX-users] Error Table

2006-10-09 Thread Neil Sleightholm
I might be missing the point but don't you just include this: You will also need to build it with 'wixui.wixlib -loc WixUI_en-us.wxl' on the light command line. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Mendes da Costa Sent: 09 Octo

Re: [WiX-users] Hiding features

2006-10-09 Thread John Ludlow
Bob's suggestion is one way.  You could, for example have a dialog box with a checkbox for each feature, and show/hide them as you like based on a .   Another option is to use a custom action - that's what this _vbscript_ code does: Set installer = Session.Installer Set database = Session.Database

Re: [WiX-users] How to find is product/merge module installed?

2006-10-09 Thread Peter G. Sakhno
Thanks allot! I'm not warring about size of the package. I have another case. The runtime part of our software can be shipped as a stand alone MSI or as a merge module. And the point is that this two edditions (MSI & MSM) are incompatible. Standalone runtime can not be installed on the computer

Re: [WiX-users] Hiding features

2006-10-09 Thread david adams
The closest that I get is setting existing features in the tree to "unselected" (Do not install) based upon User interaction in previous dialogs. The feature list is static, but the items selected by default on the Customize dialog are controlled by the prior interaction. I'm not sure that wou

Re: [WiX-users] Dialog TextBox Value to Local Computer Name

2006-10-09 Thread gcoates
Hey, worked a treat, thanks. Bob Arnson-3 wrote: > > gcoates wrote: >> I can't see a way to initialize the property behind the text box to the >> local computer name either as CustomActions seem to run after the UI has >> been displayed. >> > You can schedule a custom action to run early in

Re: [WiX-users] Error 1920 with Services

2006-10-09 Thread david adams
Thanks for the advice Bob. Turned out to be one of those ID10T errors. I was installing a Windows Service whose function is to monitor a Microsoft Message Queue. It helps to name the MQ correctly lest your service will fail to start. David Adams MSN MessengerID: [EMAIL PROTECTED] >From:

Re: [WiX-users] How to find is product/merge module installed?

2006-10-09 Thread Mike Dimmick
If you knew the UpgradeCode of an existing product, you could find it using the FindRelatedProducts action. Use the element and specify OnlyDetect="yes" on the element if you only want to know if the product is installed rather than actually removing it. A ProductCode refers only to one specific

Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Mike Dimmick
I'd take a guess that PowerShell is somehow messing up the parsing of the : and giving the two arguments "-cultures" "en-us", and that light's command-line parser then interprets "en-us" as being a source file for it to process. It then fails because it can't find the file.   This parameter i

Re: [WiX-users] wix-users@lists.sourceforge.net

2006-10-09 Thread Antony Walmsley
I assume this is a reply to my question called "COM+ components not in Component Services". I did a rebuild of Wix 4415 with shortened versions of the 4 names that were too long and now the COM+ apps appear as I would expect. The strange thing is that the old versions of the merge modules built w

Re: [WiX-users] Add run key entry in Vista?

2006-10-09 Thread Bob Arnson
Jeff MacDuff wrote: So if we make the MSI install for all users.. we should be able to create a new run key entry without hitting the redirection problems? AFAIK, redirection is used only when a non-elevated user tries to write to system locations. That said, I'm not a

Re: [WiX-users] Hiding features

2006-10-09 Thread Bob Arnson
Sigurd Stenersen wrote: > Is it at all possible to modify the number of features in the feature tree, > from a DLL or using some sort of action ? > > I'm able to set the state of features, but I would like to present users > with different trees depending on selections made in a previous dialog.

Re: [WiX-users] Localization again

2006-10-09 Thread Bob Arnson
Thomas Krebs wrote: > I've read through some of the localization threads but I have > the impression that localization is (only?) understood as a static > process, that means that I can create different MSIs each having a > different language GUI. > That's right. > I would like to have ONE MSI

Re: [WiX-users] Weekly builds / files with same version

2006-10-09 Thread Bob Arnson
William Jones wrote: > I came up with a solution, but I'm not sure it's the right one. I > generate a new product code on every build (so every build looks like > a major upgrade). I detect when I'm doing a week-to-week upgrade and > sequence the RemoveExistingProducts action for that case, as

Re: [WiX-users] Creating Environmental Variables

2006-10-09 Thread Bob Arnson
Andy Britcliffe wrote: > And have built my MSI and installed it and all seemed to go well. > However when I run the SET command from the console I don't see my env > variable listed there. Is there something I am missing? Did you restart your console? MSI sends the appropriate message to signal

Re: [WiX-users] Dialog TextBox Value to Local Computer Name

2006-10-09 Thread Bob Arnson
gcoates wrote: > I can't see a way to initialize the property behind the text box to the > local computer name either as CustomActions seem to run after the UI has > been displayed. > You can schedule a custom action to run early in the UI sequence using the InstallUISequence element. -- sig:

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Bob Arnson
Suraj Barkale wrote: > I want to know if I can search for a file in system path. You can use FileSearch to find a particular file with a version range but it doesn't support searching just the path. The alternative is to search a tree, such as ProgramFilesFolder, but that won't find directories

Re: [WiX-users] How to find is product/merge module installed?

2006-10-09 Thread Bob Arnson
Peter G. Sakhno wrote: > How to find if a product is already installed if it's Product Id is > known? Should be implemented some DLL/EXE-based CA or there are any > "standard" MSI commands available? > > The same about merge module. I want to find out if any copy of > particular MSM (defined by

Re: [WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Bob Arnson
Alexander Gnauck wrote: > which means I need a very simple solution to create transformations > without Orca. > Derek wrote the beginnings of transformation support in the Torch tool. It's designed to create a transform between two MSI packages or from a .wixout you can create with Dark. At t

Re: [WiX-users] Error Table

2006-10-09 Thread Bob Arnson
Alex Mendes da Costa wrote: > My package is not language-neutral. ProductLanguage is set in my MSI > to 1033.However, the dialog box lacks strings unless I explicitly > add the appropriate entries to the error table. > What do you have Package/@Languages set to? -- sig://boB http://bobs.

Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Bob Arnson
Christer Solskogen wrote: It seems like wix dont like to be run from PowerShell/Monad. I had to run it with: D:\bin\wix\light.exe -ext WixUIExtension "-cultures:en-us" HelloWorld.wixobj Can you post a bug? I'm not sure if we can do anything to make PowerShell happy but if we can, we s

Re: [WiX-users] Strong name validation failure

2006-10-09 Thread Antony Walmsley
Thanks, it works OK now. I needed to do some minor changes to the source for test purposes. On 09/10/06, Mike Dimmick <[EMAIL PROTECTED]> wrote: > The private key is not distributed with WiX sources and so the > executables are delay-signed. This attaches the public key token and > reserves space

Re: [WiX-users] Add run key entry in Vista?

2006-10-09 Thread Jeff MacDuff
So if we make the MSI install for all users.. we should be able to create a new run key entry without hitting the redirection problems?   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Friday, October 06, 2006 7:49 PM To: Jeff MacDuff Cc: wix-users

[WiX-users] Localization again

2006-10-09 Thread Thomas Krebs
Hi, I've read through some of the localization threads but I have the impression that localization is (only?) understood as a static process, that means that I can create different MSIs each having a different language GUI. I would like to have ONE MSI with different languages where the installati

Re: [WiX-users] Creating Environmental Variables

2006-10-09 Thread Andy Britcliffe
Hi RobThanks for that.I've droppped the following in my installer        Name='TestEnv'  Value='Test'  Action=''  System='yes'/>     And have built my MSI and installed it and all seemed to go well. However when I run the SET c

Re: [WiX-users] Need help with checkboxes

2006-10-09 Thread gcoates
If the property doesnt exist in the first place, the checkbox is set to unchecked. If you check the checkbox, the property is actually created by MSI. I think the checkbox value is linked to the existence or non existence of the property. fregate wrote: > > Thanks for aswer. It works. > > And

[WiX-users] Weekly builds / files with same version

2006-10-09 Thread William Jones
[I posted this on microsoft.public.platformsdk.msi last week, but didn't get any bites. Maybe wix-users will have some advice.] I'd like to get some advice from the MSI gurus. I'm using WiX, but my question is really about the best way to [ab]use the MSI engine. I'm trying to migrate an ins

[WiX-users] bug: Tallow generates invalid Registry/@Type and Registry/@Value

2006-10-09 Thread Kirill Kovalenko
Hello, It seems I have found a bug in Tallow.exe. When it comes to generating multi string attributes I get something like this: Original ATL registry script is: ldapcom.LDAPTypeValue = s 'LDAPTypeValue Class' { CLSID = s '{9C072A86-626E-4796-A5CF-40129EBE28FD}' CurVer = s 'lda

Re: [WiX-users] bug: Tallow generates invalid Registry/@Type andRegistry/@Value

2006-10-09 Thread Mike Dimmick
That looks like it might be a tricky thing to do. Try: Tallow probably should generate something similar when faced with an empty REG_MULTI_SZ value. What's generated at present is definitely wrong. I've tested this when the key is not already present but haven't tested what happens if it is. O

[WiX-users] Hiding features

2006-10-09 Thread Sigurd Stenersen
Is it at all possible to modify the number of features in the feature tree, from a DLL or using some sort of action ? I'm able to set the state of features, but I would like to present users with different trees depending on selections made in a previous dialog. Functionally, this is similar to

Re: [WiX-users] Strong name validation failure

2006-10-09 Thread Mike Dimmick
The private key is not distributed with WiX sources and so the executables are delay-signed. This attaches the public key token and reserves space for the signature, but doesn't actually do the hashing and signing, so the executables fail verification. You can exclude the executables from strong-n

[WiX-users] Strong name validation failure

2006-10-09 Thread Antony Walmsley
I set up a Virtual PC to build Wix 2.0.4415.0. It builds and runs with no problems. However, when I copy the executables to my development machine, I get the following error: C:\Program Files\Wix>candle Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl y 'candle,

[WiX-users] How to find is product/merge module installed?

2006-10-09 Thread Peter G. Sakhno
How to find if a product is already installed if it's Product Id is known? Should be implemented some DLL/EXE-based CA or there are any "standard" MSI commands available? The same about merge module. I want to find out if any copy of particular MSM (defined by its GUID) is installed, regardless

Re: [WiX-users] Error Table

2006-10-09 Thread Alex Mendes da Costa
My package is not language-neutral. ProductLanguage is set in my MSI to 1033.However, the dialog box lacks strings unless I explicitly add the appropriate entries to the error table. On 10/8/06, Bob Arnson <[EMAIL PROTECTED]> wrote: > Alex Mendes da Costa wrote: > > http://msdn.microsoft.com/

Re: [WiX-users] Release v3

2006-10-09 Thread HeshengBao
It sounded very difficult to try to upgrade wxs files from v2 to v3. In my WXS files, I have registry element, database, xml file, virtual directory, file, directory, service.   Please advice.   Hesheng Bao From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: Monday, October

Re: [WiX-users] Release v3

2006-10-09 Thread Mike Dimmick
The localizations have been moved into the .wixlib embedded in WixUIExtension.dll. If you want to use the standard localizations, specify -cultures:xx-xx on the light.exe command line, instead of -loc, where xx-xx is the language you want to use, for example en-US. -- Mike Dimmick -Original

[WiX-users] Release v3

2006-10-09 Thread Torsten Rudnick
I am switched to WiX v3 and now I can not find any localization files. Where do I have to look or there are important changes? If anything was changed how do I have to do localization now? - Take Surveys. Earn Cash. Influenc

Re: [WiX-users] Release v3

2006-10-09 Thread Mike Dimmick
WixCop gives you everything that was wrong. To make it fix the file, specify the -f switch. You'll still get all the error and warning messages, but it will now attempt to convert the schema.   Note that there are some places where a WixCop-converted file still won't compile with v3, such as

Re: [WiX-users] Release v3

2006-10-09 Thread HeshengBao
I tried Wixcop on a very simple WXS file and produced a lot of error and warning messages. What’s the correct command line syntax?   Thanks, Hesheng Bao   From: Cullen Waters [mailto:[EMAIL PROTECTED] Sent: Friday, October 06, 2006 6:17 PM To: Bao, Hesheng; wix-users@lists.

Re: [WiX-users] What is your experience with version 3.0.2128.0?

2006-10-09 Thread Christer Solskogen
On 09.10.2006 11:39, Frederik Carlier wrote: > Hi all, > > With version 3.0.2128.0 WiX saw some new features, most importantly the > improved version of Votive and Derek's last work. > It seems most people are quite succesful with this version of WiX and > I've seen quite some reports of closed

[WiX-users] Dialog TextBox Value to Local Computer Name

2006-10-09 Thread gcoates
Hi, Does anyone know how I can set a dialog textbox value to the local computer name. I try to set its value to [ComputerName] but that doesnt seem to work. It always sets the value to that of the property behind. I can't see a way to initialize the property behind the text box to the local com

[WiX-users] What is your experience with version 3.0.2128.0?

2006-10-09 Thread Frederik Carlier
Title: What is your experience with version 3.0.2128.0? Hi all, With version 3.0.2128.0 WiX saw some new features, most importantly the improved version of Votive and Derek's last work. It seems most people are quite succesful with this version of WiX and I've seen quite some reports of clos

[WiX-users] wix-users@lists.sourceforge.net

2006-10-09 Thread Peter Dyson
I too have seen this problem with COM+ in merge modules. The problem seems to be with names of actions which become too long when the module guid is attached to it. If you use orca to validate it will come up with 4 such errors, off the top of my head I cannot remember which 4 they are, but the w

[WiX-users] create transformations, Orca alternatives

2006-10-09 Thread Alexander Gnauck
Hello, Sorry if this question is off-topic and not WIX related. our applications normally run in high security environments where the admins are not allowed to install any software which is not certified by the main data center. Also some of our customers don't have a own admin which means I n

[WiX-users] Check if a dll file is present on target machine

2006-10-09 Thread Suraj Barkale
I want to know if I can search for a file in system path.I am trying to detect if Oracle is installed on a system. With all the different Oracle installation types out there, only surefire way seems to try & load OCI.dll and hope that Oracle is installed correctly if it loads without error.One solu

Re: [WiX-users] WixUI LGHT0103

2006-10-09 Thread Christer Solskogen
Christer Solskogen <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Anyone with a hint of what I'm missing here? > Aha! It seems like wix dont like to be run from PowerShell/Monad. I had to run it with: D:\bin\wix\light.exe -ext WixUIExtension "-cultures:en-us" HelloWorld.wixobj --

Re: [WiX-users] Duplicate registry entries (in separate feautures) in the same project..

2006-10-09 Thread Kalle Olavi Niemitalo
"Tobias Bengtsson" <[EMAIL PROTECTED]> writes: > I have a problem, I need to specify the same Registry value, but the > value has to be different in the separate Features, this - however, > generates a error when trying to compile the project. You could set Registry/@Value="[property]" and then c