Re: [WiX-users] terminate installation based on the CA result

2008-11-25 Thread Egor Sinkevich
Hi Rob! Could you please clarify a bit your answer? I'm newbie in wix. Thanks! -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 6:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] terminate installatio

Re: [WiX-users] terminate installation based on the CA result

2008-11-25 Thread Jianjun An (Person Consulting)
Please refer attributes Execute and Return of CustomAction in Wix.chm Hi Rob! Could you please clarify a bit your answer? I'm newbie in wix. Thanks! -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 6:16 PM To: General discussion for W

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Jianjun An (Person Consulting)
The problem is my MSI cannot remove the components if user changed default install path which I did not save it into registry. The context about this problem is in the attachment. Thanks Jianjun An (Person Consulting) wrote: > How can I do that? I am seeking a way not using registry. > What

[WiX-users] Checking configuration of target machine during setup

2008-11-25 Thread ajay
I have requirement where I need to check the machine for minimum configuration (RAM, disk space, CPU etc) as part of setup and fail otherwise. Are there any standard launch conditions and extensions I can use or do I have to revert to WMI to gather this info? Any samples/guidance will be much

[WiX-users] FileSharePermission for NT AUTHORITY\NetworkService User

2008-11-25 Thread Gremlin
Hello! How can I set the file share permission for the NetworkService-User? Somehow it didn't work with the FileSharePermission-Tag. Could you give me an example? Thank you, Chris -- View this message in context: http://n2.nabble.com/FileSharePermission-for-NT-AUTHORITY%5CNetworkService-User-

Re: [WiX-users] Custom Action Setting a Control value

2008-11-25 Thread Chris Matthews
I have now removed the Subscribe and the field still updates. So yes it looks like the ICEs aren't validating the Event Column in EventMapping. The one annoying thing is that if I set the Edit Control to enabled and edited before the custom action is run then the updated property doesn't make it in

Re: [WiX-users] Certificate install to local machine failswith code 26352

2008-11-25 Thread Chris Bardon
Very strange-I thought that would fix the problem. I created a custom action to install my certificate, and that was the only really major change that I made. Here's the source for my CA: UINT __stdcall InstallCertificate(MSIHANDLE hInstall) { //install a cert into the local machine stor

Re: [WiX-users] Custom Action Setting a Control value

2008-11-25 Thread Richard
In article <[EMAIL PROTECTED]>, "Chris Matthews" <[EMAIL PROTECTED]> writes: > I have now removed the Subscribe and the field still updates. So yes it > looks like the ICEs aren't validating the Event Column in EventMapping. > The one annoying thing is that if I set the Edit Control to enabl

[WiX-users] LGHT0216 Error

2008-11-25 Thread Tina Basinger
I am recieiving several errors from Light.exe saying "error LGHT0216 : An unexpected Win32 exception with error code 0x64D occurred: This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows

Re: [WiX-users] backuponinstall

2008-11-25 Thread Yu, Brian
I tried the following but the msi just fails ... Not Installed OR REINSTALL I can't find this file either C:\WINDOWS\Installer\MSI1429.tmp as it gets removed. MSI (s) (08:68) [14:08:00:593]: Note: 1: 1721 2: testbackup 3: C:\WINDOWS\Installer\MSI1429.tmp 4: Error

Re: [WiX-users] Custom Action Setting a Control value

2008-11-25 Thread Chris Matthews
>The property associated with an edit control is updated when the focus >leaves the edit control. Is that consistent with what you're seeing? No because the focus is already lost as I have clicked on the push button to fire the custom action the edit control never updates. It is a bit annoying,

[WiX-users] Custom action failing causing premature end...

2008-11-25 Thread hegsie
Hi, I Have a custom action that occasionally fails as below... [CustomAction] public static ActionResult InstallCP(Session session) { try { session.Log("Begin InstallModernCP"); CPInstaller DCInstaller = new CPInstalle

Re: [WiX-users] FileSharePermission for NT AUTHORITY\NetworkService User

2008-11-25 Thread Amy Rosewater
Hi Chris, Network Service is one of the users that has a special string name which you must use to refer to it in your wxs. I have the following which has worked for me (notice there is not a domain specified). I believe the same syntax would work for the PermissionEx element, but the timing

[WiX-users] ServiceControl tips request. (remove a service)

2008-11-25 Thread BUNYAN, Marc (WGMS)
Hi, Apologies in advance if I'm posting in the wrong section (let me know and I'll post in the right place!) J Im trying to write my first wix script to make a few changes to a bit of software on our network; this requires a service to be stopped and removed - Im a little confused on the

Re: [WiX-users] LGHT0216 Error

2008-11-25 Thread Rob Mensching
What version of the WiX toolset are you using? -Original Message- From: Tina Basinger [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 05:42 To: Wix Group Subject: [WiX-users] LGHT0216 Error I am recieiving several errors from Light.exe saying "error LGHT0216 : An unexpected Win

Re: [WiX-users] ServiceControl tips request. (remove a service)

2008-11-25 Thread Rob Mensching
No, you're in the right place. ServiceControl is the correct element. -Original Message- From: BUNYAN, Marc (WGMS) [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 07:20 To: wix-users@lists.sourceforge.net Subject: [WiX-users] ServiceControl tips request. (remove a service) Hi

Re: [WiX-users] terminate installation based on the CA result

2008-11-25 Thread Rob Mensching
Less specifically the syntax I provided was something like XPath that says, "Look at the CustomAction element with the Return attribute" (@ == attribute) -Original Message- From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 00:16 To: General

Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR

2008-11-25 Thread Rob Mensching
That is not correct. -Original Message- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 21:05 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Custom Action - start exe inside my INSTALLDIR Why don't you include the EXE and t

Re: [WiX-users] Certificate install to local machine failswith code 26352

2008-11-25 Thread Rob Mensching
Your CustomAction is not deferred and will fail if the installation is not elevated. Have you tried running it deferred? Maybe that is the problem we're having... the deferred CustomAction server isn't impersonating for us appropriately. -Original Message- From: Chris Bardon [mailto:[

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Bob Arnson
Jianjun An (Person Consulting) wrote: > The problem is my MSI cannot remove the components if user changed default > install path which I did not save it into registry. > It can. If you need a property value to run a custom action, for example, you need to store it in the registry and use a R

Re: [WiX-users] multiple license agreements in one installer?

2008-11-25 Thread Roger Yen
Hello, Thanks for the suggestions, I think I will be going with the custom action route. Now, I'd like to fill the combo box through reading from an INI file or something similar, and I was wondering if it's possible to have the INI file in the msi and still be able to be accessed during install

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Kevin Richardson
In that case, something is definitely wrong. Uninstall should work from any install location without your intervention. You had said that we were both doing the same thing, but your directory table is not the same as mine. You have: > > > > > < File

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Rob Mensching
Things *might* also get confused if a CustomAction is modifying the Directory. PS: Directory/@Name="." is the same as not having the Directory/@Name. -Original Message- From: Kevin Richardson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 08:54 To: Jianjun An (Person Consul

Re: [WiX-users] strange behavior of Localized display name for shortcuts

2008-11-25 Thread Rob Mensching
Wow, sounds like a really crazy behavior in Windows Explorer. -Original Message- From: Ali-Akber Saifee [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 20:58 To: wix-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: [WiX-users] strange behavior of Localized display name for

[WiX-users] How to Schedule a Custom Action to Execute First Only During Uninstall

2008-11-25 Thread Castro, Edwin (Hillsboro)
I'm trying to schedule a custom action to execute before any other steps occur during uninstall only: Installed AND NOT REINSTALL Installed AND NOT REINSTALL I think my conditions are correct but I don't know if the Before attribute for CACmdLine is set to an appropriate value.

[WiX-users] Executing a PowerShell Script as Custom Action

2008-11-25 Thread Castro, Edwin (Hillsboro)
I'm trying to execute a powershell script as custom action and I see the powershell.exe process starts but then it appears to be doing nothing. Here's an example: Installed AND NOT REINSTALL Installed AND NOT REINSTALL I would expect powershell to print a value to i

[WiX-users] Is it possible to set LongName attribute to a Property value?

2008-11-25 Thread Greg Silin
Hi, Is it possible to set the Direction element LongName attribute to a property value? I have the following (excerpts): Then I try to set a Directory LongName to the Property value. ... Unfortunately, it doesn't resolve to the property value during deployment. Is LongNam

Re: [WiX-users] Is it possible to set LongName attribute to a Property value?

2008-11-25 Thread Chad Miles
Doc shows LongName has been deprecated, yes? working in Wix v3 right? On Tue, Nov 25, 2008 at 2:52 PM, Greg Silin <[EMAIL PROTECTED]>wrote: > Hi, > > Is it possible to set the Direction element LongName attribute to a > property value? > > I have the following (excerpts): > > Value='Cook

Re: [WiX-users] Custom Action Setting a Control value

2008-11-25 Thread Richard
In article <[EMAIL PROTECTED]>, "Chris Matthews" <[EMAIL PROTECTED]> writes: > >The property associated with an edit control is updated when the focus > >leaves the edit control. Is that consistent with what you're seeing? > > No because the focus is already lost as I have clicked on the

Re: [WiX-users] LGHT0216 Error

2008-11-25 Thread Tina Basinger
FYI - had the build guy double-check the Windows Installer version, and it was only at 3.5. Upgraded to 4.5 and everything works. Thansk! -Tina On Tue, Nov 25, 2008 at 11:01 AM, Rob Mensching <[EMAIL PROTECTED] > wrote: > What version of the WiX toolset are you using? > > -Original Message-

[WiX-users] Reinstall a component during "Change" install

2008-11-25 Thread Dale Quigg
I am trying to reinstall some components when the user does a "Change". The issue discussed in this thread http://n2.nabble.com/Always-Reinstall-a-Component-td1483743.html is similar to my situation, but I have one extra "twist" to my problem. My problem is that I have two features and need to s

Re: [WiX-users] Is it possible to set LongName attribute to a Property value?

2008-11-25 Thread Greg Silin
Chad, I am using WiX 2. Thanks -greg *** Date: Tue, 25 Nov 2008 14:59:47 -0500 From: "Chad Miles" <[EMAIL PROTECTED]> Subject: Re: [WiX-users] Is it possible to set LongName attribute to a Property value? To: "General discussion for Windows Installer XML toolset." Message-ID:

Re: [WiX-users] Is it possible to set LongName attribute to a Property value?

2008-11-25 Thread Rob Mensching
I encourage you to read through this series on the Directory table. I think it'll clear up a bit: http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx (there are links going backwards). -Original Message- From: Greg

[WiX-users] Executing a PowerShell Script as Custom Action

2008-11-25 Thread Dale Quigg
> Date: Tue, 25 Nov 2008 14:10:24 -0500 > From: "Castro, Edwin (Hillsboro)" <[EMAIL PROTECTED]> > Subject: [WiX-users] Executing a PowerShell Script as Custom Action > I'm trying to execute a powershell script as custom action and I see > the powershell.exe process starts but then it appears to be

Re: [WiX-users] How to Schedule a Custom Action to Execute First Only During Uninstall

2008-11-25 Thread Ali-Akber Saifee
Edwin, To inspect the full sequence, just open up your msi package in orca and look at the InstallExecuteSequence table. ~/Ali > From: "Castro, Edwin (Hillsboro)" <[EMAIL PROTECTED]> > > I'm trying to schedule a custom action to execute before any other > steps occur during uninstall only: >

Re: [WiX-users] Executing a PowerShell Script as Custom Action

2008-11-25 Thread Castro, Edwin (Hillsboro)
I was successful with the following: Installed AND NOT REINSTALL The downside to this approach is that a command window shows up during uninstall. On the other hand the script gets executed properly. I was hoping to use something like the following:

Re: [WiX-users] How to Schedule a Custom Action to Execute First Only During Uninstall

2008-11-25 Thread Castro, Edwin (Hillsboro)
I used Before="ProcessComponents" and that seems to be early enough. Thanks! -- Edwin -Original Message- From: Ali-Akber Saifee [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 4:29 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to Schedule a Custom Action t

[WiX-users] Working on WIX Patch with Team Build

2008-11-25 Thread sajid
I have gone through the WIX examples on creating msp file and it works great. (http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx) In the other hand, I have my solution containing large number of projects and different configurations scheduled to build using TFS Team Build service

Re: [WiX-users] Reinstall a component during "Change" install

2008-11-25 Thread Gavin Bee
Would doing the following work? * Create a feature that contains all of the components that you might want to reinstall * Set REINSTALL=FeatureX during a "Change" install * Add conditions to the components that cause them to be included (or not) depending on the appropriate feature states. This mi

Re: [WiX-users] How can I get the correct INSTALLDIR at the beginning of uninstall?

2008-11-25 Thread Jianjun An (Person Consulting)
I have changed my code. But it doesn't work. Please have a look at the code, there may be something wrong with I think. Do I miss some important things? ...