Re: [WiX-users] Is there anyway to overwrite the directory Lenght Limit?

2007-09-27 Thread Schrieken, Rene
If you're having trouble with the 260 char limit, it is not a wix thing but a System.IO 'feature'. I reflectored System.IO.File to understand why it won't accept paths of 32000 chars. The winapi is capable of doing that by putting \\?\ in front of your path/file. Unfortunately the managed code

[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

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:

[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

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 of my

[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: Shortcut Id=SHORTCUT_logconf Directory=ProgramMenuDir Name=logconf LongName=Log Configuration Tool Target=[INSTALLDIR]bin\wish.exe

[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 Property Id=OLDVERSIONDETECTED RegistrySearch Id=OldOpti Type=raw Root=HKLM Key=SOFTWARE\Optisoft\Settings\SetupType Name=RegSearch / /Property and here is my conditon that needs to run if the reg

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: Shortcut Id=SHORTCUT_logconf Directory=ProgramMenuDir Name=logconf LongName=Log Configuration Tool Target=[INSTALLDIR]bin\wish.exe

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

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

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 change. It

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 quot;s into my arguments string, but that feels like a layering hack. WiX and MSI have no way of knowing that your argument

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 quot;s into my arguments string, but that feels like a layering hack. WiX and MSI have no way of knowing that your

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 quot;s into my arguments string, but

[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 Directory/ element. What does these setting mean for light.exe? To

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 Property Id=OLDVERSIONDETECTED RegistrySearch Id=OldOpti Type=raw Root=HKLM Key=SOFTWARE\Optisoft\Settings\SetupType.reg Name=RegSearch /

[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

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 for a

[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

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 with

[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 Property elements which set JDKHOME15, JREHOME15, JDKHOME16, and JREHOME15 using RegistrySearch. It looks like these properties are being set correctly when I

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 Show 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

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

[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

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 need

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:

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

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]

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

2007-09-27 Thread Kelly Leahy
I think you want something like: CustomAction Id=setJVMpath1 Property=JVMPATH Value=[JDKHOME15] Execute=firstSequenceJDKHOME15 AND NOT JVMPATH/CustomAction CustomAction Id=setJVMpath2 Property=JVMPATH Value=[JREHOME15] Execute=firstSequenceJREHOME15 AND NOT JVMPATH/CustomAction

[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: ?define MyXmlFilePath =

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

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

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,

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

[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

[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 Directory/ element`s attribute FileSource=.\. Files that resides in components belonging to that directory don`t specify any Source attributes. What algorithm uses