Re: [WiX-users] Can I create an MSI that leaves no footprint?

2008-08-20 Thread Buddell, James
Yes, take a look at the ISScript MSIs, they don't have a RegisterProduct action which allows them to achieve the behaviour that you're after. Cheers, James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay Thaler Sent: 20 August 2008 02:57 To:

[WiX-users] XPath or XSLPattern for XmlConfig?

2008-08-20 Thread Zachary Young
Hi, Can someone please verify that XmlConfig uses XPath (and not XSLPattern) for its query language? When I run this: util:XmlConfig Id=Hibernate.Config Action=create ElementPath=//*[\[]local-name()='property' and namespace-uri()='urn:nhibernate-configuration-2.2'[EMAIL

[WiX-users] How to create compressed output

2008-08-20 Thread Devarajan, Mahesh IN BLR SISL
Hi, I am new to WiX and we need to deliver our software as in form of single .msi file and all other media types, program files should be compressed in to .cab files that are separate from the .msi file. We use the following code Media Id=1 Cabinet=Sample.cab EmbedCab=yes DiskPrompt=CD-ROM #1 /

Re: [WiX-users] How to create compressed output

2008-08-20 Thread Johan Appelgren
On Wed, Aug 20, 2008 at 11:45 AM, Devarajan, Mahesh IN BLR SISL [EMAIL PROTECTED] wrote: Hi, I am new to WiX and we need to deliver our software as in form of single .msi file and all other media types, program files should be compressed in to .cab files that are separate from the .msi file.

Re: [WiX-users] How to create compressed output

2008-08-20 Thread Devarajan, Mahesh IN BLR SISL
I have tried it , still give the same behaviour..by the way I use WiXAware to create and compile wix source files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Appelgren Sent: Wednesday, August 20, 2008 3:53 PM To: General discussion for Windows

Re: [WiX-users] How to create compressed output

2008-08-20 Thread Johan Appelgren
On Wed, Aug 20, 2008 at 12:37 PM, Devarajan, Mahesh IN BLR SISL [EMAIL PROTECTED] wrote: I have tried it , still give the same behaviour..by the way I use WiXAware to create and compile wix source files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [WiX-users] Votive no longer works

2008-08-20 Thread Pally Sandher
Until today I was using 3.0.4401.0 in Visual Studio 2005 without any problems since it's release at the start of the month. I suggest you guys try installing 3.0.4415.0 from http://wix.sourceforge.net/releases/3.0.4415.0/ as I upgraded to that release this morning with no issues either. I use

[WiX-users] Localisation of Codepage

2008-08-20 Thread Neil Sleightholm
In the WiX help it talks about using a localisation variable for the Package/@SummaryCodepage and this seems like a good idea but you also need to set Product/@Codepage to get the MSI built with the correct codepage. The problem is that when I set Product/@Codepage to a localisation variable

[WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread pavan gadam
Hi all, We have a requirement where Builds are getting generated in with increment in Folder Names. (like Build001, Build002). File Id=File1 Name=Microsoft.Ccf.Common.dll DiskId=1 Source=Build001 / I need to make Source Dynamically pick up proper Higher Build. How to go about it? Thanks,

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
You need to use a variable to accomplish this. You have several to choose from: environment, preprocessor, visual studio specific, etc. If you have declared a System Environment variable SrcRootPath use: File Source=$(env.SrcRootPath)\bin\MyClassLibrarySample.dll / Where SrcRootPath points to

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread pavan gadam
But how to you set this env variable? I want to write a C# Custom Action. Is it possible in Custom Action to fetch env variable and set it? How do you declare System Environment variable? Thanks, Pavan - This SF.Net email

[WiX-users] VBScript help

2008-08-20 Thread Andy2k8
I have a VBScript CA that will check for network path by looking for \\ in the INSTALLDIR value and set a property VALIDATEPATH = 1 if match is found or 0 if not found, based on the result of the InStr function.This CA gets triggered when the user clicks next button in the InstallDir dialog with

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Hi Pavan, How are your running the automated WIX process ? If you are just running a batch file from DOS, use the command: SET MyVariable=BUILD69 (or use any DOS trick to generate the number for you) Systems like FinalBuilder, MSBuild, or BuildForge will allow you to do that automatically. Yo

[WiX-users] Can WiX 2.0 make 64-bit MSI?

2008-08-20 Thread Костиков Александр
I know that Package Platforms=x64/ exists. But when I try to call 64-bit dll in Custom Action I get %1 is not a valid Win32 application error. It seems to me that MSI is 32-bit and it cannot call 64 dll. Is there a way to call 64-bit dll? May be it is supported in WiX 3.0?

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread Eitan Behar
Ok, just pass the variable to candle.exe with parameter -d candle.exe (...) *-d*MyVar=MyValue Then, you can access the value in wix using $(var.MyVar) So, your batch file looks like: Set BuildLatest=Build99 candle.exe (...) *-d*SourceForInstall=BuildLatest light.exe (...) And Wix, looks

Re: [WiX-users] How do I execute deferred CAs (for unit testingcustom actions)?

2008-08-20 Thread John Nannenga
Here's a creative approach: You could use an external UI handler to assist you in unit testing deferred custom actions. You can still create the MSI etc... like documented on code.dblock.org; but instead of actually invoking the custom actions yourself, fire off the install and process the

[WiX-users] Customizing ErrorDialog error text?

2008-08-20 Thread Joe Pub
Hi, Is it possible to customize the error text on the ErrorDialog. I have a windows service that gets installed/started with my application, but there are error conditions that can occur during init to prevent the service from starting. Now all this is logged to the windows event log, and some

Re: [WiX-users] Customizing ErrorDialog error text?

2008-08-20 Thread Neil Sleightholm
I have just written a blog about customising the WiX UI (v3): http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html This might help. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Pub Sent: 20 August 2008 16:52 To: General

Re: [WiX-users] Customizing ErrorDialog error text?

2008-08-20 Thread Joe Pub
My dialogs are all custom ones already, the problem I have is that I could obviously add the error text within the custom error dialog, but then errors that are nothing to do with failure to start services will still show the extra text I add. Nice post on the blog though. Thanks 2008/8/20 Neil

Re: [WiX-users] Customizing ErrorDialog error text?

2008-08-20 Thread Neil Sleightholm
Couldn't you just assign the error message to a property and conditionally display it on the error dialog? Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe Pub Sent: 20 August 2008 17:09 To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Customizing ErrorDialog error text?

2008-08-20 Thread Joe Pub
Yea, I thought about that, by perhaps setting the error string property before StartServices and then clear it after StartServices but I wasn't sure how many different errors can occur inside StartServices - it may not make sense to the user if the error is not related to the service failing to

Re: [WiX-users] Localisation of Codepage

2008-08-20 Thread Brian Rogers
Hey Neil, If you use .wxl files to do your localization you could specify the Codepage as an attribute in that file. This would help normalize this for you a bit. Take a look at the http://schemas.microsoft.com/wix/2006/localization and WXL files. Hope this helps, -- Brian Rogers Intelligence

Re: [WiX-users] Localisation of Codepage

2008-08-20 Thread Brian Rogers
Hey Neil, If you use .wxl files to do your localization you could specify the Codepage as an attribute in that file. This would help normalize this for you a bit. Take a look at the http://schemas.microsoft.com/wix/2006/localization and WXL files. Hope this helps, -- Brian Rogers Intelligence

Re: [WiX-users] FirewallException Element

2008-08-20 Thread Neil Sleightholm
Request raised: http://sourceforge.net/tracker/index.php?func=detailaid=2062684group_i d=105970atid=642717 Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: 19 August 2008 21:51 To: General discussion for Windows Installer XML

Re: [WiX-users] How to create compressed output

2008-08-20 Thread Alexander Shevchuk
http://blogs.technet.com/alexshev/archive/2008/04/04/from-msi-to-wix-part-16-installable-items-handling-installation-media.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devarajan, Mahesh IN BLR SISL Sent: Wednesday, August 20, 2008 2:45 AM To:

Re: [WiX-users] Localisation of Codepage

2008-08-20 Thread Neil Sleightholm
Thanks that helped. I did find it wasn't as clear cut as I expected. I have several .wxl files one for English and the others for all the other languages I support. Because not all strings are translated yet both in my code and the WiX extensions it is necessary to link with this command line:

Re: [WiX-users] Database selection dialog

2008-08-20 Thread Albert At School
As mentioned before; I've something like that online at http://madbutcher.dyndns.org/snippets/ Comments are welcome and when requested enough it may grow into somethong more beautyfull ;) Note that this CA was build for WiX 2.0 and was never tested (by me that is) in WiX 3.0. Regards, Albert

[WiX-users] wix install/upgrade weirdness

2008-08-20 Thread Alpert, Stephen R (GE Healthcare)
When I installed version .4311, my event viewer logged many events; such as, Error in Template (C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\WiX\WixLibrary.zip), file (WixLibrary.vstemplate). Unknown attribute (_locID). Error in Template (C:\Program

[WiX-users] Set Property value from INI file for

2008-08-20 Thread Dmitry Berkovich
Hi, I am trying to set property value from INI file, but its not works for me. Its looks that I am doing something wrong. Example of my code: Property Id=MYPROPERTY IniFileSearch Id=TestIni Type=directory Name=a.ini Section=MySection Key=MyKey DirectorySearch Id=TestDir

Re: [WiX-users] util:CloseApplication - how do I use it

2008-08-20 Thread Neil Sleightholm
I have set the verbose logging on using a property but I was already using '/L*v' to enable logging. I think this is the relevant trace: Info 1603. The file C:\Program Files\xxx\xxx\NetSvrUI.exe is being held in use by the following process: Name: NetSvrUI, Id: 328, Window Title: '(not

Re: [WiX-users] XPath or XSLPattern for XmlConfig?

2008-08-20 Thread Brian Rogers
Hey Zach, Just curious, could you use the below XPath instead? /hibernate-configuration/session-factory/[EMAIL PROTECTED]'connection.connection_string'[\]] Thanks, -- Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Wed, Aug 20, 2008 at 2:14 AM, Zachary

Re: [WiX-users] RegistrySearch question

2008-08-20 Thread Alexander Shevchuk
Hi Mike, REG_MULTI_SZ in AppSearch has lots of problems (here is one of them: http://support.microsoft.com/kb/897026). Consensus here is - use custom action of your choice to get that value. Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike

Re: [WiX-users] XPath or XSLPattern for XmlConfig?

2008-08-20 Thread Brian Rogers
Hey Zack, Take a look at the following links and let me know if these help you out. http://www.w3schools.com/XPath/xpath_syntax.asp http://msdn.microsoft.com/en-us/library/ms950779.aspx Glad it worked! That is what is important! Thanks, -- Brian Rogers Intelligence removes complexity. - Me

Re: [WiX-users] Dynamically Pick File Source Location

2008-08-20 Thread pavan gadam
Hi Eitan, Is there any way in which BuildXX can be auto generated apart from DOS Script? Is it possible with Visual Studio specific Variable? Thanks, pavan - This SF.Net email is sponsored by the Moblin Your Move