[WiX-users] Source path bindings.

2007-09-27 Thread Andrey T
Hello! I have following question: how does light.exe resolves bindings of relative source paths? Example: I have .wxs file with element`s attribute FileSource=".\". Files that resides in components belonging to that directory don`t specify any "Source" attributes. What algorithm uses light.e

[WiX-users] ProgId referencing dll installed in the GAC

2007-09-27 Thread Ian Sullivan
Not sure if this is a bug or user (my) error, but I just tried to add a ProgId that referencing a dll that gets installed into the GAC, after install I see in the registry that the DefaultIcon points to the place where the dll would have been installed if it wasn't being installed into the GAC H

Re: [WiX-users] Silent install won't copy in files

2007-09-27 Thread Rob Mensching
Indeed. Odd. I've never heard of any issues like this... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker Sent: Wednesday, September 26, 2007 14:09 To: Rob Mensching; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Silent install won't copy in files The probl

Re: [WiX-users] Uninstall fonts?

2007-09-27 Thread Rob Mensching
The correct way to handle this scenario is to have the Component in all the products with the same Guid. The Windows Installer will only remove the Component when all products that use it are gone. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy Sent: Wednesday, Septe

Re: [WiX-users] MSBuild

2007-09-27 Thread Ben Greenberg
MSBuild only operates on Visual Studio project and solution files. You need to create a WiX project using Votive, and include your wxs in it. Then you can run MSBuild on that project file. bg On Thu, 27 Sep 2007 15:24:26 -0500, Jessi Darling <[EMAIL PROTECTED]> wrote: > Instead of using a solu

Re: [WiX-users] MSBuild

2007-09-27 Thread Jessi Darling
Instead of using a solution file, I am only using the wxs file (not associated with a solution at all)... Also, when I do try to build what I have been working with, I get the error: MSBUILD : error MSB1009: Project file does not exist. Switch: Build1.msbuild On 9/25/07, Peter Wone <[EMAIL PROT

[WiX-users] XmlConfig - Unable to make it work

2007-09-27 Thread Laxmi Narsimha Rao Oruganti (SQL CE)
Hey WIX Users, We are using WIXv3 3.0.2921.0 Build. I am trying to use XmlConfig custom action from WIXUTILEXTENSION. I have been able to compile, but so far I don't see this custom action really doing any thing. My code looks like the following:

Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Kelly Leahy
I think you want something like: JDKHOME15 AND NOT JVMPATH JREHOME15 AND NOT JVMPATH of course, with more than just the two actions. However, I'm by no means an expert and haven't even tried compiling this, so it's very possible I'm he

Re: [WiX-users] Removing a file from the GAC using a patch

2007-09-27 Thread Christopher Painter
Personally when I deprecate a component using the transitive puncture method I tell my build automation to create a 0 byte file that matches the filename. This allows me to leave the Component/File definition in place but not consume much space in the package. LindseyLeu <[EMAIL PROTECTED]> wr

Re: [WiX-users] Removing a file from the GAC using a patch

2007-09-27 Thread LindseyLeu
Thanks Phil, I was able to remove the file using the method suggested but I have another question. Do I need to keep the file being deleted around so that the installer can reference it and delete it in the patch, or is can I delete that file from the source? For files in other folders, I have be

Re: [WiX-users] Is there any way to find out version of your .MSI file (installed)

2007-09-27 Thread Jim Hewes
Another way is to call the MsiGetProductInfo function. Pass the product code GUID as the first parameter (including the surrounding braces). Pass the string "VersionString" for the second parameter. Jim From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of V K Gangwar Sent: Wedne

Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Chris Ridd
On 27 Sep 2007, at 17:59, Kelly Leahy wrote: > > Oops. Sorry Chris for the duplicate - I forgot to reply to all on > the first one. Not a problem - I'll put my reply to you below for everyone's benefit. > Here's what I sent to Chris - others, tell me if this won't work, > because I may nee

[WiX-users] FileSearch - please?

2007-09-27 Thread Chris
All, I install my app in C:\Program Files\Company\App 1.1 ... There is a subdirectory Archive\ that does not get removed upon uninstallation. How do I search for the most recent version of App and copy all the files within App 1.1\Archive to a new directory?If someone can show me an

Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Kelly Leahy
Oops. Sorry Chris for the duplicate - I forgot to reply to all on the first one. Here's what I sent to Chris - others, tell me if this won't work, because I may need this approach myself, later in my installer building process. You could do custom actions that set another property based on its

Re: [WiX-users] Uninstall fonts?

2007-09-27 Thread Brian Simoneau
The best way to leave a component is to give it a GUID but mark the component as Permanent. -Brian Simoneau From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy Sent: Wednesday, September 26, 2007 9:54 PM To: Kelly

Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-27 Thread Rob Hamflett
You use a element in InstallExecuteSequence to show the dialog, and use a condition based on the property set by the RegistrySearch. Rob Craig0ss wrote: > Hi > > as the subject states i need a dialog to be brought to the users attention > upon the execution of the msi if a regisrty is sucess

[WiX-users] Searching for multiple registry keys

2007-09-27 Thread Chris Ridd
Hi again, Some of my shortcuts call Java, and I need them to find the "right" one when multiple versions are installed. So I set up 4 elements which set JDKHOME15, JREHOME15, JDKHOME16, and JREHOME15 using . It looks like these properties are being set correctly when I install using msiexec a

Re: [WiX-users] multiple language inside of a wix MSI

2007-09-27 Thread Rob Hamflett
No. You either have to have separate MSIs, or create a base MSI and apply a transform for the desired language. Rob Adam Langley wrote: > Is it possible to have a language dropdown selection as the first page > in the MSI wizard, which changes the locale used for the UI? > > I have played wi

[WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-27 Thread Craig0ss
Hi as the subject states i need a dialog to be brought to the users attention upon the execution of the msi if a regisrty is sucessful im surching for previously installed versions of my software, if it is found on the target machine i need the dialog to execute. if its not found then nothin ne

Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Rob Hamflett
I'd give your property an initial value of something like "notfound" and use a condition of OLDVERSIONDETECTED = "notfound". The condition will fail if AppSearch found something and updated the property. Rob Craig0ss wrote: > HI > > Yeah sorry i see what ya mean now, ive decided to look fo

Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Craig0ss
HI Yeah sorry i see what ya mean now, ive decided to look for a registry of an earlier installed version of my software, not a txt file anymore. so my registry search is ok? how do i call the "condition" if the registry search returns false? thanks Rob Hamflett wrote: > > As an aside, what

[WiX-users] multiple language inside of a wix MSI

2007-09-27 Thread Adam Langley
Is it possible to have a language dropdown selection as the first page in the MSI wizard, which changes the locale used for the UI? I have played with localizing MSIs but this all seems to be auto-detected, and non-modifiable after the MSI has begun executing. Thanks - Adam Langle

Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Rob Hamflett
As an aside, what you're doing isn't a Custom Action, but it should work anyway. I think maybe you've got the condition wrong. I think you need it so that the package continues when the condition is successful, which is what's happening now. If the condition is false then the error is show

Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Craig0ss
hi thanks for your reply Im doing a registry search at the moment, its basicaly the same however i cant get my code working, here is my reg search code and here is my custom action OLDVERSIONDETECTED im not quite sure how to call the custom action if the reg search returns

[WiX-users] Source path bindings.

2007-09-27 Thread Andrey T
Hello! I have following question: how light.exe does resolve source path bindings when it searches for files to place in output image? For example: I have .wxs file where I defined "FileSource" attribute with value ".\" on some element. What does these setting mean for light.exe? To search fi

Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
On Thursday, September 27, 2007, at 01:59PM, "John Vottero" <[EMAIL PROTECTED]> wrote: >> On Thursday, September 27, 2007, at 01:00PM, "John Vottero" >> <[EMAIL PROTECTED]> wrote: >> >> Should something be properly escaping/quoting the argument? I can >> slip >> >> a couple of "s into my argumen

Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread John Vottero
> On Thursday, September 27, 2007, at 01:00PM, "John Vottero" > <[EMAIL PROTECTED]> wrote: > >> Should something be properly escaping/quoting the argument? I can > slip > >> a couple of "s into my arguments string, but that feels like a > >> layering hack. > > > >WiX and MSI have no way of knowing

Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
On Thursday, September 27, 2007, at 01:00PM, "John Vottero" <[EMAIL PROTECTED]> wrote: >> Should something be properly escaping/quoting the argument? I can slip >> a couple of "s into my arguments string, but that feels like a >> layering hack. > >WiX and MSI have no way of knowing that your arg

Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Chris Ridd
On Thursday, September 27, 2007, at 12:35PM, "Kaveh Goudarzi" <[EMAIL PROTECTED]> wrote: >Hi Chris, > > Thanks for the advice :-) ... when you say with "AUTO_" as documented >... where do you mean? I'm wondering if I missed some guidance doc >which I need to look at before I make this c

Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Kaveh Goudarzi
Hi Chris, Thanks for the advice :-) ... when you say with "AUTO_" as documented ... where do you mean? I'm wondering if I missed some guidance doc which I need to look at before I make this change. Also what is the nature of your frag gen code/script? I found tallow in its cu

Re: [WiX-users] something strange about appsearch in vista

2007-09-27 Thread bcs
Adding Secure="yes" to the Property element solved my problem on Vista. This attribute marks the property as secure. Best regards, Bo -- View this message in context: http://www.nabble.com/something-strange-about-appsearch-in-vista-tf4390625.html#a12919812 Sent from the wix-users mailing list a

Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread John Vottero
> I'm generating a number of shortcuts to programs/scripts/etc that take > arguments. One tester has noticed that a shortcut set up like: > > > Name="logconf" LongName="Log Configuration Tool" > > Target="[INSTALLDIR]bin\wish.exe" > > Arguments="[INSTALLDIR]bin\logconfig" > > WorkingD

[WiX-users] running a condition when reg key found

2007-09-27 Thread Craig0ss
Hi I need to run a condition but only if a reg key is found here is my reg search and here is my conditon that needs to run if the reg search brings back a true value, please bear in mind i am new to wix OLDVERSIONDETECTED Thanks Guys/Gals -- View this message in contex

[WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
Hi, I'm generating a number of shortcuts to programs/scripts/etc that take arguments. One tester has noticed that a shortcut set up like: fails because at install-time [INSTALLDIR] becomes C:\Program Files\Foo, and so the expected single argument gets split into "C:\Program" and "Files\Foo\b

Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Chris Ridd
On Thursday, September 27, 2007, at 11:00AM, "Kaveh Goudarzi" <[EMAIL PROTECTED]> wrote: >Hi All, > >I want see if it's ok to use the md5 of a dir name relative to >INSTALL dir as its ID? I have written a tallow equivalent ant task >which automatically creates my fragment for me as part o

[WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Kaveh Goudarzi
Hi All, I want see if it's ok to use the md5 of a dir name relative to INSTALL dir as its ID? I have written a tallow equivalent ant task which automatically creates my fragment for me as part of my source build however I find I need to be able to refer to directories which were created a

Re: [WiX-users] Is there any way to find out version of your .MSI file (installed)

2007-09-27 Thread Rob Hamflett
There are a couple of ways. In 'Add/Remove Programs', select the package and click where it says 'Click here for support information'. The info on that dialog should include the version number. If you need to get it programmatically, then the info can be found under the following key: HKEY_L

[WiX-users] Setup has detected that the publisher of file 'C:\Users\Craig0ss\AppData\Local\Temp\VSD2B57.tmp\VB5Runtime\msvbvm50.exe' cannot be verified.

2007-09-27 Thread Craig0ss
Hi there When i try and install my msi on windows vista, my bootstrapper looks for vb5runtime, if its not found its start the setup of the vb5runtime, this works fine, however when i click the install for the vb5runtime i get the following error Setup has detected that the publisher of file 'C:\

[WiX-users] heat problems with .reg and .tlb files

2007-09-27 Thread Matthew Stump
I have around 10 .Net assemblies that I expose via COM in the solution that Im packaging via Wix. As part of build process for each of these projects as a post build event I copy the resulting assemblies, executables, tlb files and pdb files to a build directory. I run heat across the build dir