[WiX-users] Preventing MSI from fetching userinfo

2007-05-10 Thread Pseudonymic Wannabe
Is there any way to prevent MSI from automaticly filling out the Username/Organization dialogs with system info for the userregistrationdlg? Sincerely Olaf _ Make every IM count. Download Messenger and join the i’m Initiative now

Re: [WiX-users] Progress bar overall instead of per feature

2007-05-10 Thread Rob Hamflett
I'm not sure. I think you just get progress info for the current task, and some text back so you can report what the current task is, but it seems to be on a per-file level. Rob Magus wrote: > Too bad I won't be able to do that. My Custom UI is required and already > complete except for a few

Re: [WiX-users] Folder and File permissions.

2007-05-10 Thread Palit
Hi More Over I try ton Registre an ActiveX in a custom DLL, wich call the DllResiterServer function wich doesn't work when the UAC is enabled. Nicolas. - Original Message - From: Palit To: wix-users@lists.sourceforge.net Sent: Monday, May 07, 2007 5:50 PM Subject: [WiX-user

[WiX-users] Suppressing MSM conditionals

2007-05-10 Thread Pseudonymic Wannabe
Is it possible to suppress conditionals embedded inn mergemodules? Some Microsoft merge-modules our project is dependent on seem to not want to install on Windows 2000 when embedded in our WIX/MSI. Anyway around this? I guess editing the MSM's is one way, not a pretty one though. -Olaf _

Re: [WiX-users] Forcing Fatal Exit/error or any other failure dialog

2007-05-10 Thread Rob Hamflett
You can force an error by creating a custom error type and then calling it. Under the UI element create an error element with a unique id like this: Your error message here Then create a CustomAction like this: You can then schedule that CustomAction in your InstallUISequence. Rob Magus wr

[WiX-users] Event execution install/Uninstall

2007-05-10 Thread Thomas B.
I have some events i need to be called appropriately, how can I make an event be called only after an install and how can I make an event be called only before files are removed (even from GAC) on an uninstall (Need to execute my application after install and need to execute it before files are

[WiX-users] Add/remove programs buttons

2007-05-10 Thread Thomas B.
When looking at add/remove programs I see some apps have a modify and remove, some have "modify/remove" and some have only remove. How can I set our installation to only have a "remove" button? Sincerely -T _ MSN Messenger overal

Re: [WiX-users] Add/remove programs buttons

2007-05-10 Thread Rob Hamflett
You want 1 Rob Thomas B. wrote: > When looking at add/remove programs I see some apps have a modify and > remove, some have "modify/remove" and some have only remove. How can I set > our installation to only have a "remove" button? > > > > Sincerely > -T > >

Re: [WiX-users] Event execution install/Uninstall

2007-05-10 Thread Rob Hamflett
For an install only event you want a condition of Installed, and for uninstall only you want REMOVE="ALL". You also have the condition in the wrong place. The condition has to be a child of the Custom element when you schedule it in the install/ui sequence. I'm surprised WiX let you do that

Re: [WiX-users] Preventing MSI from fetching userinfo

2007-05-10 Thread Rennie Petersen
Is that a WiX 3 dialog? (I can't find any userregistrationdlg file in WiX 2.) Anyway, just guessing, if you look at the source for this dialog it probably contains references to some built-in properties that are given default initial values. Change this to two new properties you define yourself.

[WiX-users] Removing a non-empty folder

2007-05-10 Thread Hooman Amini
Hello wipers, I have a folder including a lot of information that I do not know what they really are. I know this is not the best practice but I need to remove them before copying my information to the destination folder. Can someone please offer a snipt for how to use removeFolder or RemoveFile e

[WiX-users] Localizing UIText table

2007-05-10 Thread Pseudonymic Wannabe
We have a wixlocalization file that works fine for the most part, one thing that doesn't seem to work though is having the UIText there. This feature requires [1] on your hard drive. Any of our other localization strings are loaded fine with $(loc.StringId) but our installer seems to not wa

[WiX-users] upgrade don't change any files

2007-05-10 Thread Anton Filippov
Hi I have minor update (package-guid changed, upgrade and product - not changed) My minwor upgrade have some new versions for files and new features. If I run ny .msi file with C:\WINDOWS\system32\msiexec.exe /i D:\Anton\!output\setup\icsinstall.msi /log reinstall.log REINSTALL=ALL REINSTALLMOD

Re: [WiX-users] upgrade don't change any files

2007-05-10 Thread Rob Hamflett
What you've got here is a repair versus a modify. In the first line, by specifying REINSTALL="ALL", you've told Windows Installer to perform a repair. It does this, but since you can only repair something that's already installed, none of the new features are added. You're not given the opt

[WiX-users] InstallPrivileges='elevated' question...

2007-05-10 Thread Albert van Peppen
Hi, When i have a ALLUSER=1 installation and i use the attribute InstallPrivileges='elevated' on my Package element, what does this mean? 1 - The package will be run elevated, the user installing the MSI must have sufficient rights to install this MSI (needs to write HKLM for example) OR AlwaysIn

Re: [WiX-users] heat website command not working

2007-05-10 Thread suedeuno
Unfortunately there is a host of different information out there on how to run this command. I found my example at the wix wiki: http://www.wixwiki.com/index.php?title=Heat running it with LM changes the error, it can't find the website. My guess is either this isn't correct or there is a bug wit

Re: [WiX-users] heat website command not working

2007-05-10 Thread suedeuno
Tried adding LM and just "MyWebSite" but neither are found. Doesn't sound like this works or least I haven't seen anyound that could provide an example that works. W Bob Arnson-6 wrote: > > Mike Dimmick wrote: >> I have a vague recollection that it should be LM/1/Root/MyWebSite but I'm >> not f

Re: [WiX-users] heat website command not working

2007-05-10 Thread Rob Mensching
It is very possible this does not work. Derek wrote heat.exe in its entirety and when he left no one new showed up to pick up the pieces and carry it forward. The web site stuff was some of the last stuff he did and while I saw it work once, that doesn't mean it works in all (or even many) cas

Re: [WiX-users] Wix Question

2007-05-10 Thread Elnata Degefa (Bluwater Consulting Inc)
Perfect, thank you Dustine. From: Dustin Andrews Sent: Wednesday, May 09, 2007 6:37 PM To: Elnata Degefa (Bluwater Consulting Inc); wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Wix Question This is really simple. You just supply the parameters (that match properties in the MSI) on th

[WiX-users] create website setup with 2.0- help

2007-05-10 Thread suedeuno
I was tried 3.0's heat and that didn't seem to want to work for me so I'm going to try and use tallow in 2.0. I've looked at the following for an example: http://www.dalun.com/wix/01.05.2007.htm I'm trying to figure out the xml structure for the site I'm deploying. When I run tallow I get a wxs f

Re: [WiX-users] Error on uninstall?

2007-05-10 Thread Julie Campbell
Sorry it took so long to get back to you, I caught a bug, then another one ... long week. Here's what seems to be the applicable part of the log. The user error is something like "one or more files needed for restoration cannot be found. Restoration is not possible." I don't know what "19C29D7

[WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Nick
I am trying to make a setup that does NOT install on Windows 2000. Here's what I have so far: TARGETDIR="" TARGETDIR="" When I run the MSI on a Win2K machine, here's the beginning of t

Re: [WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Trevor Clifton
I do just the opposite and require it to be 2k or better. Here is my "Condition" line to do that: You would modify the condition to be > 500 instead of >= 500 to exclude the Win2k. Then you can also customize your Condition message as you wish. -Trevor -Original Message- From: [EMAIL

Re: [WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Nick
That would work great...but my app needs WinXP-SP2 or better, or Win2003-SP1 or better, or Vista, and that's where it gets messy. (It depends on Windows Firewall, which is only present in those operating systems). On 5/10/07, Trevor Clifton <[EMAIL PROTECTED]> wrote: > I do just the opposite an

[WiX-users] How can I configure MD_UPLOAD_READAHEAD_SIZE that applies to a virtual folder using wix

2007-05-10 Thread Ravit Shapira
Hi, I'm looking for information about configuring IIS custom property using WIX such as MD_UPLOAD_READAHEAD_SIZE that will apply to a virtual folder. Currently I'm using the IIS Metabase Explorer for creating a new Identifier, set the data to 0 with Inherit attribute and I've been looking for in

Re: [WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Trevor Clifton
If I understand you correctly, you want the following conditions only: If it is XP and SP2 or greater (VersionNT = 501 AND ServicePackLevel >= 2) OR Or if it is Win2003 and (SP1 or greater) (VersionNT = 502 AND ServicePackLevel >= 1) OR Of if it is Vista (VersionNT = 600) Then you can also chec

Re: [WiX-users] CustomAction = .NET dependancy?

2007-05-10 Thread Chris.Rowland
I was having this issue on a Vista machine and I changed my build settings to use the setting "No Common Language Runtime support" and the problem went away. Now the same type of issue (use of a CA in the DLL fails) has popped up on a couple of XP and a 2K system, while it works fine on othe

Re: [WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Lewis Henderson
Hi Nick, I'm new to the listserv, but I think the following code will help with your service pack requirements: VersionNT >= 501 NOT VersionNT = 501 OR ServicePackLevel >= 2 NOT VersionNT = 502 OR ServicePackLevel >= 1 This will allow Vista (VersionNT for Vista is a

Re: [WiX-users] Disk Cost dialogs not show cost?

2007-05-10 Thread Magus
I believe the problem occurs because once my CustomAction is running. I can check costing complete, however it will not fix the problem, I would need to be able to check CostingComplete inside the msi before calling my CustomAction. I am using a CustomAction for my options dialog, because it requ

Re: [WiX-users] Detecting the type of file system

2007-05-10 Thread Jason Van Eaton
Anyone? JVE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Van Eaton Sent: Wednesday, May 09, 2007 1:45 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Detecting the type of file system Is there a way to detect the file system type (F

[WiX-users] (no subject)

2007-05-10 Thread Nick
So be it. I'm dropping custom actions, since they don't evaluate to a 1 or a 0 anyway, but rather evaluate to something like 500=500. I'll use (VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT = 502 AND ServicePackLevel >= 1) OR (VersionNT > 502) Thanks! On 5/10/07, Trevor Clifton <[E

[WiX-users] How do I get rid of the "...installed to run from network" option

2007-05-10 Thread Scott Palmer
One of my features has "Will be installed to run from network" and "Entire feature will be installed to run from network" as possible install options. What is stupid about that is: - it's the only feature that shows those options - the feature has no components of its own, just sub-features, and

[WiX-users] How to check length of input string?

2007-05-10 Thread Lewis Henderson
Hi All, I'm new to the list, but I've scanned back a month or so and didn't find anything for this. I'd like to enforce a length requirement for an authorization number in a dialog box. If the value entered isn't exactly 24 characters, I want the Next button disabled. Additionally, I'd li

[WiX-users] Disabling and hiding a feature based on key...

2007-05-10 Thread Lewis Henderson
Hi All, I've got an install that prompts for a product key, and based on the value of that key, certain features may not be available. How do I disable these features and remove them from the subsequent FeatureTree dialog? My key validation custom action can set a property value for each feat

Re: [WiX-users] Preventing MSI from fetching userinfo

2007-05-10 Thread Wilson, Phil
You can set the NOUSERNAME and NOCOMPANYNAME properties to 1 to prevent the automatic setting of USERNAME and COMPANYNAME properties, which is probably what the bound properties are. I think they're from HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization and RegisteredOwner (o

Re: [WiX-users] Prevent installing on Windows 2000

2007-05-10 Thread Nick
Hi, Thanks for your answer! The firewall is included with WinXPSP2 and Win2003SP1, and Vista, that's why I was looking for the particular combo. Unfortunately, the code you provide would fail on this condition: > >VersionNT >= 501 > if I'm running XPSP2. (It wouldn't evaluate any furt

[WiX-users] Prerequsite RTL installs...

2007-05-10 Thread Lewis Henderson
Hi, This is my last question for the day. I'm working on an install that uses a custom action to validate a product key early in the UI sequence. However, the custom action code requires the C++ RTL for VC 8.0 (2005 .NET). How do I check for and install this RTL if needed before the UI sequen

Re: [WiX-users] Disabling and hiding a feature based on key...

2007-05-10 Thread Nick
I had dealt with this issue before, you may find the discussion if you search the archives. Note, if you disable a feature from the installation tree, a savvy user can still use something like Orcas and extract *all* the files that are sitting in your .msi file... What I ultimately did was this;

[WiX-users] (no subject)

2007-05-10 Thread Nick
I create a dummy installation project with Visual Studio 2005, and I make it install .NET runtime and VC++2005 as pre-requisites. Then I delete the .msi file that VS generates, and I put in the one WiX generates. Congratulations, you have a setup.exe that installs all the pre-requisites. On 5/

[WiX-users] IIS Setup for ASP.NET Runtime?

2007-05-10 Thread S C
I am attempting to set the version of the ASP.NET runtime in my WiX v3 wxs. In the IIS 6 MMC, getting Properties on the default web site and choosing the "ASP.NET" tab gives a dropdown with the available runtimes, it default to 1.1 on most systems; I need to set that to 2.0 within my .wxs, how t

Re: [WiX-users] CustomAction = .NET dependancy?

2007-05-10 Thread Chris.Rowland
One system in question had version 1 of the .NET framework, and installing version 2 made the problem go away. Any tips on how to find out what the dependency is, and how I can configure my build setting to remove it? From: Rowland, Chris Sent: Thursday, M

[WiX-users] heat dir .wxs missing Class/@Server attribute

2007-05-10 Thread suedeuno
I ran heat dir command and tried to compile in visual studio but got the following: Error The Class/@Server attribute was not found; it is required. Yes, I could add this but I've got about 39k llines of code in the wxs. Is there a hidden switch for this? -- View this message in context: htt

Re: [WiX-users] How do I get rid of the "...installed to run fromnetwork" option

2007-05-10 Thread Chris.Rowland
I'm curious about this as well. I've noticed the same behavior in my installer, and I haven't been able to figure out a) what it is doing, or b) how to make it go away. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer Sent: Thursday,

Re: [WiX-users] Detecting the type of file system

2007-05-10 Thread Rob Mensching
No built in support for that, that I know of. You'd need a CustomAction to set a property or something. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Van Eaton Sent: Thursday, May 10, 2007 11:21 AM To: wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] CustomAction = .NET dependancy?

2007-05-10 Thread Nick
If you wrote it in VC++ 2005 then one of your dependencies will be the Visual C++ 2005 redistributable. One of your dependencies will also probably be .NET framework 2.0. You put these in your bootstrapper, since neither are included by default with your XP or 2K system. (Unless some other app a

Re: [WiX-users] Detecting the type of file system

2007-05-10 Thread Jason Van Eaton
Thanks, Rob. By CustomAction, do you mean an action that cobbles together existing stuff from inside WIX or Windows Installer, or do you mean calling off to a custom .dll to provide that data? JVE -Original Message- From: Rob Mensching Sent: Thursday, May 10, 2007 1:35 PM To: Jason Va

Re: [WiX-users] Multi Media Questions

2007-05-10 Thread Magus
bump Magus wrote: > > I am trying to work with multiple media, so that I can have files stored > on CD's. The thing is my Diskprompt never appears, instead I get the > ErrorDlg, with Retry/Cancel Option. It doesn't say Insert Disk ? like I > would want it to. Is there a specific dialog that doe

[WiX-users] per-machine and per-user in same install?

2007-05-10 Thread Don Tasanasanta
I'm looking to create an install that will always install default features as per-user and then if the user happens to have admin access to the machine they can go to Add/Remove Programs, choose "Modify" and turn on the per-machine components. I haven't tried this yet but was wondering... is t

Re: [WiX-users] Detecting the type of file system

2007-05-10 Thread Nick
DLL. See here: http://www.tramontana.co.hu/wix/lesson3.php#3.3 On 5/10/07, Jason Van Eaton <[EMAIL PROTECTED]> wrote: > Thanks, Rob. By CustomAction, do you mean an action that cobbles together existing stuff from inside WIX or Windows Installer, or do you mean calling off to a custom .dll t

Re: [WiX-users] Multi Media Questions

2007-05-10 Thread Dustin Andrews
Can you post a minimal Wix example of your install? I have a vague feeling you might need to set some DiskId someplace. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Thursday, May 10, 2007 2:15 PM To: wix-users@lists.sourceforge.net Su

Re: [WiX-users] Multi Media Questions

2007-05-10 Thread Magus
I have that both for Components and on Each file. Does one overwrite the other? Dustin Andrews wrote: > > Can you post a minimal Wix example of your install? I have a vague feeling > you might need to set some DiskId someplace. > > > > Guid="----"> > > > >

Re: [WiX-users] Multi Media Questions

2007-05-10 Thread Rob Mensching
File/@DiskId overrides Component/@DiskId. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus Sent: Thursday, May 10, 2007 2:25 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Multi Media Questions I have that both for Components and on

Re: [WiX-users] Multi Media Questions

2007-05-10 Thread Magus
Thats good to know, it doens't seem to solve my problem though. I still do not recieve the proper error or please insert this disk message, is there something else I am missing that would be important to this? Rob Mensching-2 wrote: > > File/@DiskId overrides Component/@DiskId. > > -Origin

Re: [WiX-users] IIS Setup for ASP.NET Runtime?

2007-05-10 Thread jrcolons
S C-4 wrote: > > I am attempting to set the version of the ASP.NET runtime in my WiX v3 > wxs. > In the IIS 6 MMC, getting Properties on the default web site and choosing > the "ASP.NET" tab gives a dropdown with the available runtimes, it default > to 1.1 on most systems; I need to set that

[WiX-users] Replacement for Microsoft.Tools.WindowsInstallerXml.HelpExtension

2007-05-10 Thread Doug Payne
Hi, We recently upgraded from WiX 2.0.3620.0 to a later 2.0 build. We were using the Help Extension, like this: Candle.exe -ext "Microsoft.Tools.WindowsInstallerXml.HelpExtension.HelpCompilerAndSchema Extension, Microsoft.Tools.WindowsInstallerXml.HelpExtension" ... I'm told that the help extens

[WiX-users] Conditional Custom Action on Install

2007-05-10 Thread Aaron Feng
I would like to run a custom action only on install and when a specific feature is being installed. If someone could point me toward the right direction that would be great. Thanx, Aaron - This SF.net email is sponsored by

Re: [WiX-users] Conditional Custom Action on Install

2007-05-10 Thread Rob Mensching
Custom elements can be conditionalized by putting the condition as the text() of the element. The Condition Syntax topic in the MSI SDK has information about how to do what you want. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Feng Sent: Thursday, May 10, 2007 8:17 PM T

Re: [WiX-users] Replacement for Microsoft.Tools.WindowsInstallerXml.HelpExtension

2007-05-10 Thread Rob Mensching
This works for me: candle.exe -ext Microsoft.Tools.WindowsInstallerXml.Extensions.VSCompiler,WixVSExtension product.wxs Microsoft (R) Windows Installer Xml Compiler version 2.0.5304.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. product.wxs light.exe -ext Microsoft.Tools.Win

Re: [WiX-users] create website setup with 2.0- help

2007-05-10 Thread Schrieken, Rene
I use this xlst script to do exactly that... http://www.w3.org/1999/XSL/Transform"; xmlns:wix="http://schemas.microsoft.com/wix/2003/01/wi";> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of suedeuno Sent: Thursday, May 10