Re: [WiX-users] German OS and Network Service Account issue

2009-01-26 Thread Neil Sleightholm
Try using NetworkService (i.e. without the space) and I think the replaces it with the well known SID which means it is localised. E.g.: You may also be able to do something with OSInfo and WIX_ACCOUNT_NETWORKSERVICE - see help file. Neil -Original Message-

Re: [WiX-users] Recommended build layout

2009-01-26 Thread Bob Arnson
MacDiarmid, James D wrote: >> I'm very new to wix (just discovered it yesterday) and was wondering if >> anyone could recommend a build layout. See http://www.joyofsetup.com/2009/01/01/choosing-your-payloads/. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] CustoAction as early as possible

2009-01-26 Thread taras
Thank you Bob. It is exactly what I needed... Bob Arnson-6 wrote: > > taras wrote: >> I am trying to invoke CA as early as possible. Ideally on msi startup but >> on >> showing the first UI dialog will do. >> >> >> > > If you want a custom action to run during the UI, use InstallUISequenc

Re: [WiX-users] CustoAction as early as possible

2009-01-26 Thread Alexander Shevchuk
When UI is in use during installation (UI level is not None), Windows Installer starts with actions from InstallUISequence table. In case when UI level is set to None, you still want to schedule custom action in InstallExecuteSequence table. In that case you may want Execute attribute to be "fi

Re: [WiX-users] CustoAction as early as possible

2009-01-26 Thread Bob Arnson
taras wrote: > I am trying to invoke CA as early as possible. Ideally on msi startup but on > showing the first UI dialog will do. > > > If you want a custom action to run during the UI, use InstallUISequence instead. Note that it won't run during a silent install. -- sig://boB http://joyof

Re: [WiX-users] CustomizeDlg Reset button to affect feature Location ?

2009-01-26 Thread Bob Arnson
Scott Sanders wrote: > I'm modifying the standard dialogs provided in > src/ext/UIExtension/wixlib to suit my needs. I notice that the Reset > button on CustomizeDlg only reverts the user's feature selection in > the SelectionTree. I would like the Reset button to also revert the > Location valu

Re: [WiX-users] Dealing with Components with Only Non-Versioned Files

2009-01-26 Thread Bob Arnson
jnewton wrote: > I have a few components that only contain non-versioned files (i.e. message > files, fonts). Currently I am using a core DLL that I install as the > companion file for the files in those components. However, this means that I > don't have a keypath for these components. I'm not sur

Re: [WiX-users] Configuration update problem during install...

2009-01-26 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > That did it for me, thanks. BTW, where is this documented, I hunted and > hunted and could not find it. > WiX.chm specifies that the field is formatted; the MSI SDK documents the Formatted special characters. -- sig://boB http://joyofsetup.c

[WiX-users] CustoAction as early as possible

2009-01-26 Thread taras
Hi, I am trying to invoke CA as early as possible. Ideally on msi startup but on showing the first UI dialog will do. (NOT Installed) The code above executes MyAction after all UI dialogs "finished". I guess standard action "InstallInitialize" is not good for this. What would be the

Re: [WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Jeremy Farrell
The VersionNT64, Intel64, and Msix64 properties are all imprecisely and inaccurately worded, which makes it very difficult to work out how to use them properly. It's a while since I wasted a chunk of time experimenting to work out what they actually mean, but I'm fairly sure that Msix64 being defin

[WiX-users] How to change permission for existing Folder and/or file?

2009-01-26 Thread Joseph Wu
Permission Element's parent must be CreateFolder or File. How to change the permission for existing Folder and/or file? Thanks Joseph -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell

Re: [WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Rainer Stropek
Hi Jeremy! I solved it this way: Firstly I define a custom action for 32bit setup routine: Secondly I call the custom action in the 32bit setup routine whenever it is called on a 64bit machine: ... ... To be honest I did not inven

Re: [WiX-users] Specify source of exe in ServiceInstall

2009-01-26 Thread Anupama A
In that case, I can probably use installutil to install my windows service. Again how can I achieve something like this? I want to mention the source of the exe to be different than the [ProgramFilesFolder], some other directory, the value which is set in [ApplicationDirectory

Re: [WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Jeremy Farrell
> From: Jeremy Lew [mailto:j...@liquidmachines.com] > > Before I resort to a CA that tries to call IsWow64Process(), is there > any other simple way to bail out if attempting to run a 32 > bit installer > on a Win64 OS? (My product requires the 64 bit installer on a > 64 bit OS) Launch conditi

[WiX-users] CustomizeDlg Reset button to affect feature Location ?

2009-01-26 Thread Scott Sanders
Hi, I'm modifying the standard dialogs provided in src/ext/UIExtension/wixlib to suit my needs. I notice that the Reset button on CustomizeDlg only reverts the user's feature selection in the SelectionTree. I would like the Reset button to also revert the Location values for each feature to the

Re: [WiX-users] LGHT001 error from Light I can't seem to get rid of

2009-01-26 Thread Rob Mensching
Thanks much. Ick. -Original Message- From: John Cooper (Volt) [mailto:a-jc...@microsoft.com] Sent: Monday, January 26, 2009 14:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] LGHT001 error from Light I can't seem to get rid of Yes. I will do so pro

Re: [WiX-users] Override 'Large Package' in WiX

2009-01-26 Thread Rob Mensching
Switch doesn't exist in WiX v3. The -ust had lots of legacy (almost duplicate) code in it that wasn't maintained well. It was removed early in WiX v3. -Original Message- From: Jim Stout [mailto:jimst...@gmail.com] Sent: Monday, January 26, 2009 13:55 To: wix-users@lists.sourceforge.net

Re: [WiX-users] German OS and Network Service Account issue

2009-01-26 Thread Rob Mensching
PermissionEx always understands the "English" names. That might work for you. -Original Message- From: Alex Henderson [mailto:bitterco...@gmail.com] Sent: Monday, January 26, 2009 13:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] German OS and Network Service Account issue I

[WiX-users] Recommended build layout

2009-01-26 Thread MacDiarmid, James D
I'm very new to wix (just discovered it yesterday) and was wondering if anyone could recommend a build layout. What I'm currently doing is creating a starting msi package with Visual Studio 6.0 installer. My source files that I'm putting into the build are in a folder tree on drive d. WiX is in a

Re: [WiX-users] Managed CA fails to extract to temp directory (on one machine)

2009-01-26 Thread Alex DeNeui
Very unscientifically... I have an Explorer window open to the Temp folder. On a working machine I can see the file being extracted to the temp folder and then removed after the CA is done. On the broken machine it never shows up in the folder. However, I installed FileMon on the broken machi

[WiX-users] German OS and Network Service Account issue

2009-01-26 Thread Alex Henderson
I'm having an issue with a basic installer built with WIX when it's being used on German versions of Windows XP - the problem is that the Network Service account is in fact named "Netzwerkdienst" and as such the installer is failing with the message: An error occurred while applying security setti

Re: [WiX-users] Override 'Large Package' in WiX

2009-01-26 Thread Jim Stout
Yes, the -ust switch, but what about WiX v3? We have been using that exclusively since build 3113. Jim On Mon, Jan 26, 2009 at 11:39 AM, Rob Mensching-2 (via Nabble) < ml-user+58086-232436...@n2.nabble.com > wrote: > light.exe in WiX v2 has switch to do that. > > -Original Message- > Fr

Re: [WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Jeremy Lew
Hmm, the doc says that Msix64 is set when running on a 64 bit processor. What does it mean if I have a 32bit version of Windows running on a 64-bit processor? -Original Message- From: Moradi, Ari [mailto:arastoo.mor...@hp.com] Sent: Monday, January 26, 2009 4:15 PM To: General discussio

Re: [WiX-users] Creating SQL Database with WiX v3

2009-01-26 Thread Rob Mensching
-2147217900 == DB_E_ERRORSINCOMMAND oledberr.h Unfortunately, more detail is not provided. -Original Message- From: Eric Latendresse [mailto:elatendre...@optimum-solutions.com] Sent: Monday, January 26, 2009 13:21 To: General discussion for Windows In

Re: [WiX-users] Properties in WiX

2009-01-26 Thread Alexander Shevchuk
Properties are not WiX feature, it is an MSI feature. You can find answers on your questions here: http://msdn.microsoft.com/en-us/library/aa370889(VS.85).aspx Regards, Alex -Original Message- From: Kiran Challa [mailto:kicha...@microsoft.com] Sent: Monday, January 26, 2009 12:56 PM T

Re: [WiX-users] LGHT001 error from Light I can't seem to get rid of

2009-01-26 Thread John Cooper (Volt)
Yes. I will do so promptly. -- John M. Cooper -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 26, 2009 2:14 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] LGHT001 error from Light I can't seem to g

Re: [WiX-users] Setting folder permissions (was: Problems installing a windows service)

2009-01-26 Thread Rob Mensching
The default MSI SDK Permission element overwrites ACLs. The PermissionEx element appends ACLs. -Original Message- From: Thomas Due [mailto:thomas@scanvaegt.dk] Sent: Sunday, January 25, 2009 23:01 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Setting

Re: [WiX-users] Adding system wide module to IIS7 on 64-bit OS

2009-01-26 Thread Adam Eversole
Additional info, I am using WIX 3.0.4827.0 With the following: I didn't get any replies in my e-mail, but noticed there was an actual reply on the archive. If anybody could help I would be most appreciative Thanks, Adam From: Adam Eversole Sent: Friday, Janu

Re: [WiX-users] Creating SQL Database with WiX v3

2009-01-26 Thread David Reed
That's often a 404-equivalent. There's usually more info in the server error log. Error -2147217900 Cannot open backup device ''. Device error or device off-line. See the SQL Server error log for more details. Make sure the SQL Server process has permissions to that path

Re: [WiX-users] Properties in WiX

2009-01-26 Thread Rob Mensching
1. Yes. You can open the MSI with Orca and look at the Property table. 2. No. 3. Same as 2. There are a few discussion about how to do this in the archives. -Original Message- From: Kiran Challa [mailto:kicha...@microsoft.com] Sent: Monday, January 26, 2009 12:56 To: wix-users@lists

Re: [WiX-users] Specify source of exe in ServiceInstall

2009-01-26 Thread Rob Mensching
ServiceInstall in MSI doesn't support that scenario. MSI SDK says ServiceInstall always points at the key path of the Component. -Original Message- From: Anupama A [mailto:anupama...@gmail.com] Sent: Monday, January 26, 2009 07:32 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-use

Re: [WiX-users] LGHT001 error from Light I can't seem to get rid of

2009-01-26 Thread Rob Mensching
Ug, bug. Can you file this on SourceForge? Should be able to get a fix next week. Be sure to put it under the "v3.0" Group and "light" Category. -Original Message- From: John Cooper (Volt) [mailto:a-jc...@microsoft.com] Sent: Monday, January 26, 2009 09:20 To: General discussion for W

Re: [WiX-users] Recursive Directory Import

2009-01-26 Thread Rob Mensching
heat.exe or one of the other tools out there generates a .wxs file. -Original Message- From: Thomas Guettler [mailto:h...@tbz-pariv.de] Sent: Monday, January 26, 2009 07:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Recursive Directory Import Hi, how can you include a direc

Re: [WiX-users] Create Database does NOT fail even though there is a database with the same name

2009-01-26 Thread Rob Mensching
Not sure that is a failure case. It would need to succeed in the case where a repair comes a long and wants to put the database back. If it is already there, no work done. Very similar to the way the Windows Installer behaves for all other resources. -Original Message- From: Erdinch

Re: [WiX-users] ServiceInstall as deferred action

2009-01-26 Thread Alexander Shevchuk
ServiceInstall is already deferred. See Suggested InstallExecuteSequence (http://msdn.microsoft.com/en-us/library/aa372038(VS.85).aspx) - InstallServices standard action is scheduled after InstallInitialize. I am not sure what you mean by constructing exe path during execution. ServiceInstall

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-26 Thread Richard
In article <1233004461998-2220704.p...@n2.nabble.com>, jballe writes: > > > Richard-45 wrote: > > > > I haven't really been following this thread, but this is the standard > > way of communicating custom table data to deferred CAs. The MSI SDK > > documentation provides an example of do

Re: [WiX-users] Creating SQL Database with WiX v3

2009-01-26 Thread Eric Latendresse
I tried to restore the database from a backup file during the initial install and am getting this error below. Is there WiX log or something where I can get some more info on how to debug this? Below is my code and I think this should work. Anyone have any ideas? Thanks in advance for you help.

Re: [WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Moradi, Ari
I think a LaunchCondition with the property Msix64 will do what you want. -Ari -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Monday, January 26, 2009 2:49 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Prevent 32 bit MSI in

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-26 Thread jballe
Richard-45 wrote: > > I haven't really been following this thread, but this is the standard > way of communicating custom table data to deferred CAs. The MSI SDK > documentation provides an example of doing this for creating user > accounts. > Thank you for answering. You say that I should n

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-26 Thread Richard
In article <21662327.p...@talk.nabble.com>, jballe writes: > I solved the issue by an immediate customaction scheduled in the ui just > after writing to the customtable. This custom action creates the > CustomActionData class and saves it to a public property which can be used > to schedule

[WiX-users] Properties in WiX

2009-01-26 Thread Kiran Challa
Hi, I am new to WiX and I am trying to understand some basics. Regarding 'Properties' in WiX: 1. If there is any hardcode value for a Property in a WiX file, when we compile this Wix file...is this value going to be stored in the MSI database ? 2.If there are any public proper

Re: [WiX-users] Getting a DARK1024 error

2009-01-26 Thread Rob Mensching
Not an error, a warning. It tells you exactly what it is doing. -Original Message- From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] Sent: Monday, January 26, 2009 12:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Getting a DARK1024 error I'm using Visual Studio 6

[WiX-users] Prevent 32 bit MSI install on 64 bit OS

2009-01-26 Thread Jeremy Lew
Before I resort to a CA that tries to call IsWow64Process(), is there any other simple way to bail out if attempting to run a 32 bit installer on a Win64 OS? (My product requires the 64 bit installer on a 64 bit OS) Thanks, Jeremy --

[WiX-users] ServiceInstall as deferred action

2009-01-26 Thread Anupama A
How can i include ServiceInstall in a deferred custom action? I want it to be deferred as i'll construct the exe path only during execution. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to t

[WiX-users] Getting a DARK1024 error

2009-01-26 Thread MacDiarmid, James D
I'm using Visual Studio 6.0 Installer to create a test msi package and I'm getting the following error when using DARK.EXE to convert it. dark.exe : warning DARK1024 : Action 'UpdateResources' in sequence 'InstallExecuteSequence' is not a custom action, dialog, supported standard action, or know

Re: [WiX-users] Override 'Large Package' in WiX

2009-01-26 Thread Rob Mensching
light.exe in WiX v2 has switch to do that. -Original Message- From: Jim Stout [mailto:jimst...@gmail.com] Sent: Monday, January 26, 2009 10:50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Override 'Large Package' in WiX WiX sets File Sequence and Media LastSequence to i4 to e

[WiX-users] Override 'Large Package' in WiX

2009-01-26 Thread Jim Stout
WiX sets File Sequence and Media LastSequence to i4 to enable creation of large msi packages. Is there anyway to force candle/light to use the standard i2 for these columns? Exporting and importing idt files is clumsy. I would like to use WiX to build an updated database for use with patching a

[WiX-users] Create Database does NOT fail even though there is a database with the same name

2009-01-26 Thread Erdinch Akbasli
Hi, I have a database element which should install a database and abort if the installation fails. The component is as below. To test, I already have a database with the same name on the server. So I would expe

Re: [WiX-users] LGHT001 error from Light I can't seem to get rid of

2009-01-26 Thread John Cooper (Volt)
On this run, I was using 3.0.4707.0. Thinking that the latest version might fix the problem, I've installed 3.0.4923, but I get the same error. So, then I tried offload things to lit. If if leave off the -bf flag on lit, it compiles everything into wixlib's just fine (and then I get the afore

[WiX-users] Recursive Directory Import

2009-01-26 Thread Thomas Guettler
Hi, how can you include a directory with all sub directories? I use WiX3.0 Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- This SF.net email is sponsored by: S

Re: [WiX-users] BootStrapper log question

2009-01-26 Thread Arun Perregatturv
I was able to resolve this issue. Thanks, Arun Perregattur -Original Message- From: Arun Perregatturv [mailto:aperregatt...@napcosecurity.com] Sent: Monday, January 26, 2009 9:15 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] BootStrapper log question

[WiX-users] Detecting WSE 3.0

2009-01-26 Thread Eitan Behar
Hi, Do you know how to detect if WSE 3.0 is installed ? There are plenty of product codes for WSE 3.0, so a simple registry search to Windows\Uninstall does not help. Thanks, Eitan -- This SF.net email is sponsored by: S

Re: [WiX-users] Specify source of exe in ServiceInstall

2009-01-26 Thread Anupama A
Thanks, I am aware of this. The point I am trying to make is that in my case, the source of the File element above the ServiceInstall is not clear at compile time. As I mentioned, I set a property called [ApplicationDirectory] during execution and this would hold the path that should be set to ele

[WiX-users] Dealing with Components with Only Non-Versioned Files

2009-01-26 Thread jnewton
I have a few components that only contain non-versioned files (i.e. message files, fonts). Currently I am using a core DLL that I install as the companion file for the files in those components. However, this means that I don't have a keypath for these components. I'm not sure if this is a problem

[WiX-users] BootStrapper log question

2009-01-26 Thread Arun Perregatturv
I added SQL 2008 to BootStrapper and it works on new Install. But when I try to install on a system that already has SQL 2008 installed, it tries to re-install again, I can't find where the problem might be Can someone help? This is the code in package.xml - I have added registry check for SQL S

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-26 Thread jballe
Just if someone else is reading this thread. I solved the issue by an immediate customaction scheduled in the ui just after writing to the customtable. This custom action creates the CustomActionData class and saves it to a public property which can be used to schedule the actions in "after Instal

Re: [WiX-users] Specify source of exe in ServiceInstall

2009-01-26 Thread Thomas Due
I actually struggled a bit with this as well, I discovered that the easiest way to do that is: Apparently the ServiceInstall node references the file node directly above it. Thomas Due -Original Message- From: Anupama A [mailto:anupama...@gmail.com] Sent: 26. januar 2009 0

[WiX-users] Extracting a certificate from binary table

2009-01-26 Thread Pratapa Reddy Sanaga
Hi, I'm placing a .pfx certificate in the binary table and wish to retrieve it in my deferred custom action dll. From what I read on the forum, I see that this can be achieved by reading the certificate using immediate custom action, write it to custom action data(or to a temporary file, which I d