[WiX-users] RE : acl a directory

2007-03-28 Thread Jacquet Fabian
The tag Permission let you put ACL on a directory. You only can put this as child as CreateFolder tag. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Lindsay Harris Envoyé : jeudi 29 mars 2007 8:01 À : DevDiv WiX; wix-use

Re: [WiX-users] Question on the Dependency element

2007-03-28 Thread Bob Arnson
Rory Clark wrote: > What exactly does the Dependency element do? > Not much. It creates rows in the ModuleDependency table but it's up to consumers of the merge module to provide them. (Some setup authoring tools try to maintain a global list of merge modules and resolve dependent merge modu

Re: [WiX-users] rollback installation when custom action failed

2007-03-28 Thread Bob Arnson
Bei Liu (Volt) wrote: Is there a way that I can rollback the installation(undo install sequence 1-6600) if the custom action(if the sequence is 4501) failed? You need to have a rollback custom action and have the deferred CA return an error code, then MSI takes care of rollback automatical

Re: [WiX-users] stop service before installvalidate

2007-03-28 Thread Bob Arnson
Bei Liu (Volt) wrote: I'm trying to stop the services before installvalidate when uninstall. However, I got the following error. Per the doc, the services actions must come during the transaction because they modify system state. Actions that modify the system can't be immediate. -- sig

Re: [WiX-users] Conditional feature install

2007-03-28 Thread Bob Arnson
[EMAIL PROTECTED] wrote: I'm trying to show one of 2 mutually exclusive features in the customize dialog based on the value of ALLUSERS. For some reason, one is always shown, and the other is always hidden, no matter what I think the value of ALLUSERS is. Feature conditions are processed

Re: [WiX-users] ServiceControl questions

2007-03-28 Thread Bob Arnson
Bei Liu (Volt) wrote: 1) Condition By default, the condition for using ServiceControl is "VersionNT", can I changed it to use Vista? VersionNT is set for Vista. See "VersionNT Property" in the MSI doc. 2) What is the difference between "ServiceControl under a component" and "I

Re: [WiX-users] Registering a Windows Service that is a COM executable

2007-03-28 Thread Bob Arnson
Matt Anderson wrote: > Ok. I think that part of the problem is that the COM components of the > executable aren't being registered. I tried using tallow.exe using the -s > switch, but that did not work. Is there a way through WiX to register the > COM > parts (preferably without having to au

[WiX-users] stop service before installvalidate

2007-03-28 Thread Bei Liu (Volt)
I'm trying to stop the services before installvalidate when uninstall. However, I got the following error. 2762 Cannot write script record. Transaction not started. Is there a way to stop a service before installvalidate? Thanks, ---

[WiX-users] Question on the Dependency element

2007-03-28 Thread Rory Clark
What exactly does the Dependency element do? Here is my situation: We have the web application framework, the Framework, which my company has developed. Framework.msi FrameworkRuntime.msm FrameworkSDK.msm We have an extension to the Fra

[WiX-users] Conditional deployment of a virtual directory

2007-03-28 Thread David Roberts
Hi there, I'm newly acquainted with WiX, and was hoping someone out there may be able to help me with a problem I'm trying to solve relating to conditional deployment of a virtual directory to an IIS server. I would like to deploy the web service as part of a feature, but I think my Fragment-le

[WiX-users] rollback installation when custom action failed

2007-03-28 Thread Bei Liu (Volt)
Is there a way that I can rollback the installation(undo install sequence 1-6600) if the custom action(if the sequence is 4501) failed? Thanks, - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Te

Re: [WiX-users] identify the product code of an existing installation

2007-03-28 Thread Wilson, Phil
Enumerate every component on the system with MsiEnumComponents. For each component, get a list of the client ProductCode guids with MsiEnumClients, keeping in mind that there could be multiple products. I don't think there's a shorter way. Phil Wilson From:

[WiX-users] identify the product code of an existing installation

2007-03-28 Thread Chris.Rowland
Is it possible to determine the product code (if any) for an arbitrary file that resides on the system? The idea would be to offer to uninstall the application that lives in a given directory using msiexec /x{product-code}

[WiX-users] acl a directory

2007-03-28 Thread Lindsay Harris
Does anyone know if there is a simple way to acl a directory in WIX? Or would this be a custom action call? Thanks! Lindsay Harris - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel an

[WiX-users] Packaging Website Files

2007-03-28 Thread Christopher Brandt
I'm not clear on the best practice for packaging up large groups of files, such as a website. I understand that the wix file needs to have each file individually listed. But how do you achieve this practically, especially with a website? Adding the installer project to the website solution and the

Re: [WiX-users] Registering a Windows Service that is a COM executable

2007-03-28 Thread Matt Anderson
Wilson, Phil wonderware.com> writes: > > If this is ATL-based, the startup code looks for a set of registry > entries to see whether it's supposed to run as an out-of-process COM > server or a service. > > Phil Wilson Ok. I think that part of the problem is that the COM components of the

[WiX-users] Conditional feature install

2007-03-28 Thread Chris.Rowland
I'm trying to show one of 2 mutually exclusive features in the customize dialog based on the value of ALLUSERS. For some reason, one is always shown, and the other is always hidden, no matter what I think the value of ALLUSERS is. Additionally, other aspects of the installation that are dependant

[WiX-users] ServiceControl questions

2007-03-28 Thread Bei Liu (Volt)
I'm using ServiceControl Element under a component, I have two questions: 1) Condition By default, the condition for using ServiceControl is "VersionNT", can I changed it to use Vista? 2) What is the difference between "ServiceControl under a component" and "InstallService under In

Re: [WiX-users] Problems with Dependencies inVotive

2007-03-28 Thread Justin Rockwood
Ok, I was afraid of that. It appears that this isn't implemented in the VS SDK 3.0. Maybe it's been fixed in 4.0. I'll have to add this feature, since it's not working correctly right now. Sorry for the trouble you're having. Justin -Original Message- From: Anthony Wieser [mailto:[EMAIL P

Re: [WiX-users] Why isn't my upgrade being detected?

2007-03-28 Thread Chris Bardon
Ah, looks like that was it-setting ALLUSERS to 1 forced the old version to uninstsall. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil Sent: Wednesday, March 28, 2007 12:42 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-use

Re: [WiX-users] Why isn't my upgrade being detected?

2007-03-28 Thread Wilson, Phil
Make sure that the AllUsers value is the same in both products. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon Sent: Wednesday, March 28, 2007 9:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Why isn't my upgra

Re: [WiX-users] Registering a Windows Service that is a COM executable

2007-03-28 Thread Wilson, Phil
If this is ATL-based, the startup code looks for a set of registry entries to see whether it's supposed to run as an out-of-process COM server or a service. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Anderson Sent: Wednesday, Marc

Re: [WiX-users] Another version of this product is already installed

2007-03-28 Thread Wilson, Phil
I remain paranoid about doing RemoveExistingProducts after InstallFinalize. If the uninstall of the older product fails in there it rolls back and you end up with both versions of the product on the system. This is usually a disaster. It's safer to do RemoveExistingProducts in the audited sequence

[WiX-users] Why isn't my upgrade being detected?

2007-03-28 Thread Chris Bardon
I'm trying to make sure that I have a Wix installer that upgrades distributions authored with the previous Installshield version we used, but for some reason not all of the files work correctly. I've defined my Wix file with the same upgrade code, but with a new product and package codes, a new ve

Re: [WiX-users] Major upgrade problems (with installation of new product, post removal of old)

2007-03-28 Thread Wilson, Phil
It would also be useful to know if the install works when there is nothing to upgrade. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Wednesday, March 28, 2007 8:16 AM To: Vishal Srivastava Cc: wix-users@lists.so

Re: [WiX-users] Major upgrade problems (with installation of new product, post removal of old)

2007-03-28 Thread Bob Arnson
Vishal Srivastava wrote: The InstallValidate action does appear twice in the log; however the first time is the new product's install and the second is the old product's uninstall (since I scheduled RemoveExistingProducts after InstallValidate)... could this be part of the problem? No, t

Re: [WiX-users] Search and replace?

2007-03-28 Thread Bob Arnson
Christer Solskogen wrote: > Is it possible to get wix to take input from the user, and use that > input to search and replace some stuff in a configuration file (which > includes a lot more config than just a username and password) > If yes, could anyone point me in to the right direction of how?

Re: [WiX-users] Trouble building Wix 3

2007-03-28 Thread Bob Arnson
Brent Rockwood wrote: > The output I posted was after having gotten part way through the build > several times. I'm assuming it was just skipping all the stuff that > is up to date (I wasn't doing a clean on that run). When I build, I don't see "copying 0 files" messages, which is what concer

Re: [WiX-users] Another version of this product is already installed

2007-03-28 Thread Bob Arnson
Chris Bardon wrote: > The way I understand things, a major upgrade will effectively do a full > uninstall of the previous version before installing the new version, > correct? Just thinking that the install would take a whole lot longer > this way, and that I'd have to make sure that certain files

Re: [WiX-users] Another version of this product is already installed

2007-03-28 Thread Chris.Rowland
Does WI support any sort of automated backup of files that have changed since installation when performing the un-installation? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon Sent: Wednesday, March 28, 2007 8:47 AM To: Bob Arnson Cc: Wilson,

[WiX-users] Conditional RemoveFiles on Uninstall

2007-03-28 Thread Chris Bardon
I have an application that creates some config files that I'd like to conditionally uninstall with the application. It looks like I can just use to get rid of these on uninstall, but I'd like to give the user the option of keeping them in case they reinstall later. I've seen several installers p

Re: [WiX-users] Another version of this product is already installed

2007-03-28 Thread Jeff Paulsen
Chris Bardon wrote: > The way I understand things, a major upgrade will effectively do a full > uninstall of the previous version before installing the new version, > correct? Just thinking that the install would take a whole lot longer > this way, and that I'd have to make sure that certain files

[WiX-users] Registering a Windows Service that is a COM executable

2007-03-28 Thread Matt Anderson
I have a Windows Service that is a COM (not .NET COM interop) executable that I need to register. When I use along with , it "installs" but does not start. I tried to manually start the service, but I get an error saying that the service is taking too long to respond. Everything that the se

Re: [WiX-users] Another version of this product is already installed

2007-03-28 Thread Chris Bardon
The way I understand things, a major upgrade will effectively do a full uninstall of the previous version before installing the new version, correct? Just thinking that the install would take a whole lot longer this way, and that I'd have to make sure that certain files (e.g. user-modified configu

[WiX-users] Problems with Dependencies inVotive

2007-03-28 Thread Anthony Wieser
I've added this to my project: dude.cab When I reload the project in vs2005, this is what ends up in the file. dude.cab I tried adding a folder structure manually first, but that looks like it's going to lead to trouble. When I create the firs

Re: [WiX-users] Wix votive stable version

2007-03-28 Thread Anthony Wieser
Done. Tony Would somebody be willing to submit a feature request for the "Add as Link" feature?- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share y

[WiX-users] The highly ranked liberal arts school near Charlotte, N.

2007-03-28 Thread Welch S. Leila
He takes a more interior orientation on spiritual learning. Spirituality transcends a specific pattern of belief, even though specific patterns of belief are often vigorously and sometimes violently defended. " So a lot of people you would never think of as really wealthy now have to pay the AMT

Re: [WiX-users] Trouble building Wix 3

2007-03-28 Thread Brent Rockwood
The output I posted was after having gotten part way through the build several times. I'm assuming it was just skipping all the stuff that is up to date (I wasn't doing a clean on that run). Anyhow, I'm more than happy to upgrade to a later build, but the newest thing I see on SourceForge is 242

Re: [WiX-users] Adding records to MSI on the fly

2007-03-28 Thread carlldev
Hi, You need both those functions. The second function should be called when the next button is clicked on the dialog used to select the website. This can be done by using InstallExecuteSequence, probably before InstallValidate. The first action can be called anytime before the dialog used to s