Re: [WiX-users] Silent install problem

2007-09-11 Thread Anidil
This is the snip of the installUISequence.how should i be sequencing this for the silent install to work properly? Show Dialog=VistaWarningDlg Before=LaunchConditionsNOT Installed /Show Custom Action='AlreadyUpdated' After='FindRelatedProducts'PATCHFOUND/Custom Rob Hamflett wrote: It sounds

Re: [WiX-users] creating INF files

2007-09-11 Thread Stefan Krueger [MVP]
The Windows Installer engine is not aware of INF files. Reading property values from an inf file would require a custom action. That said, WiX might add such an action by default, but I don't know WiX well enough. Probably others in here could answer this. Otherwise, to help us better

Re: [WiX-users] Silent install problem

2007-09-11 Thread Rob Hamflett
You need to put the Custom Action into the InstallExecuteSequence. Rob Anidil wrote: This is the snip of the installUISequence.how should i be sequencing this for the silent install to work properly? Show Dialog=VistaWarningDlg Before=LaunchConditionsNOT Installed /Show Custom

Re: [WiX-users] condition onl component

2007-09-11 Thread Frédéric Viollet
Stefan Krueger [MVP] a écrit : So you only want to condition the copy (which corresponds to a MoveFile table row I guess) but not the instalaltion of the component. To do this you need to put the copy element in a separate component, because rows in the MoveFile table can't have conditions

Re: [WiX-users] Remove Install When Required and Install to Run FromNetwork

2007-09-11 Thread Stefan Krueger [MVP]
This article might help: Custom Setup Options in Windows Installer http://www.installsite.org/pages/en/isnews/200102/CustomSetupOptions.htm -- Stefan Krueger Microsoft Windows Installer MVP Please post your questions in the newsgroup or vist one of these web sites: Windows Installer FAQ

Re: [WiX-users] condition onl component

2007-09-11 Thread Stefan Krueger [MVP]
So you only want to condition the copy (which corresponds to a MoveFile table row I guess) but not the instalaltion of the component. To do this you need to put the copy element in a separate component, because rows in the MoveFile table can't have conditions by themselves, instead they use

Re: [WiX-users] ZIP archive inside MSI, UNZIP after installation...

2007-09-11 Thread David Stindl
Yes you are right - I forgot uninstall :-( The problem is, that directory with documentation is delivered by third party company and I do not want to check directory structure everytime after documentation delivery... So I created folowing functionality using mallow.exe utility: 1.) Into our

[WiX-users] StartService on install fails when components installed in GAC

2007-09-11 Thread Jarrod Marshall
I have 2 windows services that get installed. They use assemblies that are installed in the GAC. When you set these to start on install through the service controller, they fail. Is it because the GAC install has not committed yet? Any help would be great! Jarrod

Re: [WiX-users] Silent install problem

2007-09-11 Thread Anidil
Ooops..thanks Rob :-) Rob Hamflett wrote: You need to put the Custom Action into the InstallExecuteSequence. Rob Anidil wrote: This is the snip of the installUISequence.how should i be sequencing this for the silent install to work properly? Show Dialog=VistaWarningDlg

Re: [WiX-users] ZIP archive inside MSI, UNZIP after installation...

2007-09-11 Thread Christopher Painter
Richard [EMAIL PROTECTED] wrote: A semi easier solution is to write something that calls heat dir each time to generate a .wxs you include in your build. Should take about a day of dev/testing. Ah, much better, thank you. Funny, InstallShield has had this functionality for

[WiX-users] Files in MSI not dropped onto system during install

2007-09-11 Thread Nick Hennemann
I have an install that contains 14647 files. When the MSI is installed it is only installing 13895 files (any file higher than this number is not making it on the system)...is there some sort of limitation? I have used orca to examine the MSI and everything looks correct...I can see the

Re: [WiX-users] ZIP archive inside MSI, UNZIP after installation...

2007-09-11 Thread Brian Rogers
Hey Chris, I would say that dynamically linking files can be an issue but there are some products out there that need to do this. The biggest thing I can see is not what files should be included. In our product deployment cycles we would run binary delta compares to ensure release integrity, know

Re: [WiX-users] Wix layout

2007-09-11 Thread Dominik Guder
Christopher Painter wrote: In my build environment, one of my unit tests is to compare the contents of the MSI to the files that were available to be built. This alerts me to application changes that have new resources that I've not been told about. An overly simplified look at this

Re: [WiX-users] ZIP archive inside MSI, UNZIP after installation...

2007-09-11 Thread Christopher Painter
I know the feeling. I have it baked into my build automation to run a unit test that compares the available files to an administrative install. If any files are new in the build area but missing in the installer, a build error is thrown.From there we find out who put the files there and

[WiX-users] Administrator-only install?

2007-09-11 Thread Brad Stanley
This may be a silly question, but I would like to detect the user upon installer startup and fail gracefully if the user is not the administrator. I've combed the tutorial and the schema, but I must be missing how to perform this check. --- Brad Stanley Scientific Programmer Oklahoma

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Rob Hamflett
I think you want [EMAIL PROTECTED]elevated. Are you already setting this, because the chm claims it's the default value? Rob Brad Stanley wrote: This may be a silly question, but I would like to detect the user upon installer startup and fail gracefully if the user is not the

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Rob Hamflett
Nevermind. As has just been pointed out to me that's for UAC on Vista. I got a bit confused whilst looking through a wix file. Sorry. Rob Rob Hamflett wrote: I think you want [EMAIL PROTECTED]elevated. Are you already setting this, because the chm claims it's the default value? Rob

Re: [WiX-users] error 1334 due to file sequencing.

2007-09-11 Thread Rob Mensching
There is currently no solution to the file sequencing problems that adding files in Merge Modules introduce for patching. To see how merge module files are ordered take a look at the Binder. ProcessMergeModules() method. From: Sandip Shahane Sent: Monday, September 10, 2007 17:46 To: Heath

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Rob Hamflett
Having thought about it, ALLUSERS=1 is probably what's wanted. Rob Rob Hamflett wrote: I think you want [EMAIL PROTECTED]elevated. Are you already setting this, because the chm claims it's the default value? Rob Brad Stanley wrote: This may be a silly question, but I would like to

Re: [WiX-users] IIS Metabase locator for installed website?

2007-09-11 Thread Rob Mensching
Two options: 1. Enhance the existing custom actions to support this scenario. (the ideal, especially if you are willing to sign the assignment agreement and send your code in). 2. Reimplement the code to find a web site that is found in the custom actions, deferred, after the ConfigureIIs

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Chad Petersen
I put in a check like this a while back that stops the install if the user isn't an administrator. Condition Message=You need to be an administrator to install [ProductShortName].Privileged/Condition -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Brad Stanley
On Sep 11, 2007, at 11:38 AM, Chad Petersen wrote: I put in a check like this a while back that stops the install if the user isn't an administrator. Condition Message=You need to be an administrator to install [ProductShortName].Privileged/Condition Exactly what I was looking for. Thank

Re: [WiX-users] Managed custom action return values

2007-09-11 Thread Wilson, Phil
I think you're forgetting that not all custom actions run inside the setup process (I assume you're referring to msiexec.exe). Custom actions can be external executables that run in their own process. I think you're reading this:

Re: [WiX-users] Repair issue

2007-09-11 Thread Wilson, Phil
The MSI file is cached (without the files) because there's enough info in there to see if repair is needed, such as file hashes, file version, component info etc. Also a repair of a registry entry can happen without going to the original source because that's still in the cached MSI file.

Re: [WiX-users] StartService on install fails when components installedin GAC

2007-09-11 Thread Wilson, Phil
Yes it is. Assemblies aren't committed in the GAC until InstallFinalize. StartServices is before this. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jarrod Marshall Sent: Tuesday, September 11, 2007 3:56 AM To: WiX-users@lists.sourceforge.net Subject:

Re: [WiX-users] Administrator-only install?

2007-09-11 Thread Wilson, Phil
There's still going to be a Vista issue. Scroll down here to the Fake until the service paragraph. http://blogs.msdn.com/rflaming/archive/2006/09/21/765665.aspx Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad Stanley Sent: Tuesday, September 11,

[WiX-users] LogonAsService

2007-09-11 Thread Jarrod Marshall
Any plans for the Wix 3.0 User element to contain the LogonAsService attribute in the way that Wix 2.0 does? Thanks! No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 9/10/2007 5:43 PM

Re: [WiX-users] IIS Metabase locator for installed website?

2007-09-11 Thread John Hancock (HSG)
Well, I was able to get it to work by linking in the Wix utility library and using the MetaFindWebBase function to find the website in my custom DLL, but I'd be happy to try to implement an enhancement to the Website element and custom action code. Since I'm not a member developer, what's the

[WiX-users] setting the asp.net version

2007-09-11 Thread John Lalande
I am writing an installer that creates a web site in IIS using WiX, unfortunately the version of asp.net is always set to v1.1.4322 when I need it to be 2.0.50727. Is there a way to set this using WiX? John - This SF.net

Re: [WiX-users] [OT] user home predefined name?

2007-09-11 Thread Marcel Schutte
Hello, I am trying to come up with an installer that can write files in the C:\Documents and Settings\Marcel\ .m2 directory. Currently I have the following which will put it inside C:\Documents and Settings\Marcel\Application Data\.m2 Directory Id='TARGETDIR' Name='SourceDir'

[WiX-users] How to add a hyper text link to a dialog

2007-09-11 Thread Pei Gu
Hi, all I am new to Wix. We have a WIX setup project that has the following behavior - Upon launched, the msi will try to locate a file on user's target machine. If the file doesn't exist, the msi will show a dialog notify the user that the prerequisite file does not exist. Currently, the

Re: [WiX-users] How to add a hyper text link to a dialog

2007-09-11 Thread Mike Dimmick
I'm afraid that it's not supported in the Windows Installer internal UI. You have to either write an external UI or drop the requirement. Others have mentioned custom actions to launch the browser but I can't recall whether it's possible to attach this to an event on the text control, or whether

[WiX-users] The Wix Book

2007-09-11 Thread Peter Wone
The Wix Book doesn't exist. This mailing list, the tramontana tutorial, WixWiki and Rennie Petersen's somewhat incomplete beginner tute are basically all there is. WixWiki is great but doesn't seem to get many updates. Like all mailing lists, this one contains gems buried in dross. One can lose