[WiX-users] Creating empty folders

2009-02-13 Thread sandun css
Hi, I need to create several folders, which don't contain any files at the installation. Is this possible in wix? If so, how to do it? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San

Re: [WiX-users] Creating empty folders

2009-02-13 Thread Chris Ridd
On 13 Feb 2009, at 08:45, sandun css wrote: Hi, I need to create several folders, which don't contain any files at the installation. Is this possible in wix? If so, how to do it? Yes, just use CreateFolder/ See http://www.tramontana.co.hu/wix/lesson5.php#5.6 for an example. Cheers, Chris

[WiX-users] Custom dialog

2009-02-13 Thread Lough, Norman
I've created a custom dialog and I can get it to appear between certain dialogs (WelcomeDlg and LicenseAgreementDlg say). I've modified a copy of WixUI_FeatureTree to include my dialog - I thought I would include it after the VerifyReadyDlg but before the ProgressDlg. I've seen some example that

[WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Jonason
hello, I want to skip the the license dialog for WixUI_InstallDir , how can I do that, thanks! -- View this message in context: http://n2.nabble.com/How-to-skip-the-license-dialog-for-WixUI_InstallDir-tp2321620p2321620.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Thomas S. Trias
You don't have to use the UI provided by Windows Installer at all; you can always just boostrap with your own UI and then configure and install the MSI (either by modifying the MSI database or by setting properties). If you want to do it all within an MSI, just use a managed immediate custom

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Neil Sleightholm
Take a look here: http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Jonason [mailto:lei.zhan...@hp.com] Sent: Fri 13/02/2009 14:56 To:

Re: [WiX-users] Attributes specify existing IIS website?

2009-02-13 Thread Thomas S. Trias
Without a SiteId, the custom action looks for matches by key address (the first WebAddress element); with a SiteId of *, the custom action looks for a match by description (ServerComment in the metabase). So, you need: iis:WebSite Id=EXISTINGWEBSITE Description=I do not think this matters

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Jonason
Thanks, I’ll have a try. Best regards. Jonason Zhang Integration Framework GDAS China | Application Service Engineering (ASE) TEL: 86-23-65683078 [Office] EMail: lei.zhan...@hp.commailto:lei.zhan...@hp.com HPSX Support Hour: (GMT +8:00) 10:00~19:00 HPSX Support Call Number: +86 13671512912

[WiX-users] Setting XP compatible mode on Vista Shortcut

2009-02-13 Thread Chris Lord
Hello all, I have a simple installer that installs files and shortcuts. Unfortunately, a third party tool the application requires only runs correctly if the application is run in XP compatible mode under Vista. It runs fine with no modifications needed under XP and 2000. Is there any way to

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Jonason
I’ve already do it successfully by this instruction, actually I found the author missed a key step before modify the “Next” ”Back” attributes, that is cross out the two tags below: Publish Dialog=LicenseAgreementDlg Control=Back Event=NewDialog Value=WelcomeDlg1/Publish

[WiX-users] openfiledialog

2009-02-13 Thread Dieter Janzen
Hi, I really hope you can help me. I wrote an installer that works, but now I need a interface, where the user have to choose a file with a certain name. It is possible that there are more than one file with this name. And I have to get the path of this file while the installation so i can set

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Neil Sleightholm
I am the author, I couldn't see those lines in my example. Neil -Original Message- From: Jonason [mailto:lei.zhan...@hp.com] Sent: 13 February 2009 16:18 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir I’ve already do it

Re: [WiX-users] Adding external cab file

2009-02-13 Thread Brian Rogers
Hey Leela, The documentation is a bit ambiguous, however, the Media/@Source attribute does not refer to the location of your own CAB file. Instead this is refers to a column in the Windows Installer Media tablehttp://msdn.microsoft.com/en-us/library/aa369801.aspx. This the column is used for

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Jonason
yes your code is correct, I mean you'd better add those words in your instruction. :) Neil Sleightholm wrote: I am the author, I couldn't see those lines in my example. Neil -Original Message- From: Jonason [mailto:lei.zhan...@hp.com] Sent: 13 February 2009 16:18 To:

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Richard
In article 49958e53.2090...@artizan.com, Thomas S. Trias tomtr...@artizan.com writes: Because not everyone requires the .NET framework and for most packages, a custom UI written in .NET is overkill. [...] If you want to do it all within an MSI, just use a managed immediate custom

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Rob Mensching
WiX.chm has details about how to customize the dialogs. -Original Message- From: Jonason [mailto:lei.zhan...@hp.com] Sent: Friday, February 13, 2009 06:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to skip the license dialog for WixUI_InstallDir hello, I want to skip

Re: [WiX-users] Setting XP compatible mode on Vista Shortcut

2009-02-13 Thread Rob Mensching
Today you'd have to write a CustomAction to set that. The native Windows Installer ability doesn't have functionality to do that. -Original Message- From: Chris Lord [mailto:chris.l...@atterotech.com] Sent: Friday, February 13, 2009 07:47 To: wix-users Subject: [WiX-users] Setting XP

Re: [WiX-users] Need help while integrating with MSBuild

2009-02-13 Thread Rob Mensching
Interesting. Why not use SourceDir as the root for your file and use the -b switch to light. That way your compiled .wixobj files don't have hard coded paths in them (like they would below using the preprocessor). Might make some scenarios easier later... like using .wixobjs on different

Re: [WiX-users] FirstFailureActionType gone in WIX3? How to configure this now?

2009-02-13 Thread Rob Mensching
There are now two ServiceConfig elements in WiX v3. One is the new native MSI 5.0 functionality. The other is in the Util extension. In your example below, it looks like you want the one in the Util extension but are putting the prefix before the ServiceConfig element name. -Original

Re: [WiX-users] Adding external cab file

2009-02-13 Thread Rob Mensching
I think you could use the -cabcache though. -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Friday, February 13, 2009 09:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding external cab file Hey Leela, The

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Rob Mensching
There are several products out there that provide the functionality you are asking for. Some are commercial, some are open source. I encourage you to go investigate them. Creating a full blown editing UI for the WIX toolset isn't something we're particularly interested in doing here right now.

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Thomas S. Trias
I understand that; I'm not using a UI at all, and I'm not using any managed code within my packages. Since Script actions are the red-headed step-children of Windows Installer, I find myself writing a lot of C++... I was just saying that for the people THAT WANT to create UI's in .NET

Re: [WiX-users] wxl files and preprocessor variables

2009-02-13 Thread Rob Mensching
The build flow looks like this: 1. Preprocess 2. Compile 3. Link 4. Bind Preprocessor variables are evaluated at step 1. Localization is evaluated at step 4. The two don't meet. One solution is to use Properties. -Original Message- From: ACKH [mailto:forforumh...@hotmail.com]

Re: [WiX-users] ICE Errors in CI environment

2009-02-13 Thread Rob Mensching
Light uses the standard validation engine provided by the Windows Installer. That validation engine uses the actual Windows Installer to execute the tests. Your problems are all related to getting the Windows Installer service to run in your environment. One way around the problems is to

Re: [WiX-users] Wix - Shortcut on desktop program menu for all users

2009-02-13 Thread Rob Mensching
Try this: http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-shor tcut-and-pass-all-the . -Original Message- From: Tim Musschoot [mailto:tim.mussch...@telenet.be] Sent: Wednesday, February 11, 2009 02:28 To: General discussion for Windows Installer XML toolset.;

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Christopher Painter
So what. If it's an extension pattern, they can choose that it's not for them. But there are plenty of us who would choose that it is exactly what we need. I'm going to be OOO all next week for a second round of advanced C# training. Linq and WCF is heavy on the agenda so maybe in the coming

Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir

2009-02-13 Thread Neil Sleightholm
Yes I see, I'll revise it when I have time. Thanks, Neil -Original Message- From: Jonason [mailto:lei.zhan...@hp.com] Sent: 13 February 2009 17:21 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to skip the license dialog for WixUI_InstallDir yes your code is correct,

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Arun Perregatturv
Rob, I was referring not to fix or add feature to Wix toolset for visual designer but instead having a open discussion about a way make more people use Wix. I know how difficult it is to begin and pain you have to go thru creating a Installer in Wix. I have already done my search for Visual

[WiX-users] LaunchConditions and FindRelatedProducts

2009-02-13 Thread Neil Sleightholm
I have noticed that to get launch conditions to handle and related products properly it is necessary to schedule FindRelatedProducts before LaunchConditions. This is not a problem but wouldn't it make sense for this to be the default? I have looked at the VS generated MSIs and they are scheduled

Re: [WiX-users] Setting XP compatible mode on Vista Shortcut

2009-02-13 Thread Chris Lord
Thanks Rob. -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Friday, February 13, 2009 12:45 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Setting XP compatible mode on Vista Shortcut Today you'd have to write a

[WiX-users] Custom WiX Dialog Issues-Getting folder selected from BrowseDlg

2009-02-13 Thread Stephen Tunney
Hello all, I am trying to get back the value from the BrowseDlg (standard one in the wixui) to do the following: 1) Display in a Text control 2) Be used in a custom action at the end of the installation process (After=StartServices) Here is my custom dialog, I already have it in the sequence,

Re: [WiX-users] LaunchConditions and FindRelatedProducts

2009-02-13 Thread Christopher Painter
For some reason that I don't understand, the MSI SDK suggests that LaunchConditions be before AppSearch: http://msdn.microsoft.com/en-us/library/aa372038(VS.85).aspx Personally I've always done it the other way around so I can use the results of AppSearch in my LaunchConditions. In fact, at

[WiX-users] This breaks component reference counting.

2009-02-13 Thread MacDiarmid, James D
Error ICE30 : The target file 'admin2_1|admin2_1_28_08_112227_rad072F3.rpt' is installed in '[ProgramFilesFolder]\apps\nfts\NFTSV3_1\Genera_1\' by two different components on an SFN system: 'C_FL_admin2_1_28_08_112227_rad072F3.rpt' and 'C_FL_admin2_1_28_08_112722_rad5ADDB.rpt'. This breaks

Re: [WiX-users] LaunchConditions and FindRelatedProducts

2009-02-13 Thread Neil Sleightholm
I can sort of see the point of that but that list doesn't even mention FindRelatedProducts. Putting FindRelatedProducts after LaunchConditions actually breaks installs if you run a downgrade silently. Neil -Original Message- From: Christopher Painter

Re: [WiX-users] LaunchConditions and FindRelatedProducts

2009-02-13 Thread Christopher Painter
I'm sorry, I meant to type AppSearch. Of course, we also use FindRelatedProducts as part of our search patterns. ( DetectOnly flag ) Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me ---

Re: [WiX-users] i need util:XmlFile associated SchedXmlFile action to happen before a specific CAQuietExec deferred custom action . . .

2009-02-13 Thread Robert O'Brien
Would Custom Action=ExecXmlFile be more relevant than Custom Action=SchedXmlFile for ensuring my util:XmlFile settings get applied just before my CAQuietExec deferred custom action that needs those settings in place? From: Robert O'Brien Sent: Friday, February 13, 2009 1:46 PM To: 'General

[WiX-users] i need util:XmlFile associated SchedXmlFile action to happen before a specific CAQuietExec deferred custom action . . .

2009-02-13 Thread Robert O'Brien
i need util:XmlFile associated SchedXmlFile action to happen before a specific CAQuietExec deferred custom action . Would using the following sequence entry for SchedXmlFile be the correct / supported way to make that happen? Custom Action=SchedXmlFile Before=SetMyCaQeAction!Database1=2 And

Re: [WiX-users] LaunchConditions and FindRelatedProducts

2009-02-13 Thread Rob Mensching
The current sequence of actions came from the MSI sequence.msi except for AppSearch/LaunchConditions. We filed a doc bug with the Windows Installer team about those two and I think they agreed it is a better ordering (when will we sit it addressed, no idea). I suppose we could suggest the same

Re: [WiX-users] Visual Dialog Development

2009-02-13 Thread Rob Mensching
Sorry, I guess was only hinting that if you want to have a discussion about improving one of the projects that is closest to your needs you'd be better off having a discussion with them wherever they live. Below it sounded like you were suggesting that we should implement such a project in the

Re: [WiX-users] This breaks component reference counting.

2009-02-13 Thread Rob Mensching
What version of the WiX toolset are you using? If it is WiX v2 (my first guess) then you manage the Name attribute yourself. In the WiX v3 toolset we did a lot of investigation and found a way to create a stable short name for files. That was one of the biggest feature requests from WiX v2