Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread Bob Arnson
akash bhatia wrote: > like i have a requirement here that to create setup for both the target > types. So i have to install few files depending on the target machine type. > MSI doesn't support installing 64-bit components from a 32-bit package. You need two packages, one for each platform. -

Re: [WiX-users] Non-adminstrator installation

2009-02-24 Thread Bob Arnson
Rob Mensching wrote: > ClickThrough (which doesn't work fully but still exists in our tree) > uses the concept of "ApplicationFolder" and installs to a per-user > location by default. You might look at that code. > WixUI_Advanced does the same thing: -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread akash bhatia
Sir, Please elaborate me on this. like i have a requirement here that to create setup for both the target types. So i have to install few files depending on the target machine type. need to check for certain registries as well depending on the target type. Thanks, Akash On Wed, Feb 25, 2009 at

Re: [WiX-users] What keeps borking my ICE validation by registering VBScript and JScript under HKCU?

2009-02-24 Thread Rob Mensching
Word. Thomas S. Trias wrote: > Yeah, right up there with advertised COM components. > > Thomas S. Trias > Senior Developer > Artizan Internet Services > http://www.artizan.com/ > > > Original Message > Subject: Re: [WiX-users] What keeps borking my ICE validation by > register

Re: [WiX-users] Using an existing app pool

2009-02-24 Thread Rob Mensching
Make the Component installing the WebAppPool permanent. Jeremy Lew wrote: > Using iisext, I am able to attach my web application to a pre-existing > application pool. However, I can't seem to get it to leave the > application pool intact when the product is uninstalled. It removes it > regardles

Re: [WiX-users] Non-adminstrator installation

2009-02-24 Thread Rob Mensching
ClickThrough (which doesn't work fully but still exists in our tree) uses the concept of "ApplicationFolder" and installs to a per-user location by default. You might look at that code. Bob Arnson wrote: > Colin Bleckner wrote: > >> I'm trying to change my installer so it can be run by users

Re: [WiX-users] any insights as to why sql extension commands containing public property references are not working

2009-02-24 Thread Rob Mensching
What you are seeing is a limitation in the code. I'm not sure that there is a real requirement behind the limitation but the code does expect things to behave the way you list. If you think it should be different, feel free to file a feature request with a clear statement of what you see and wh

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-24 Thread Rob Mensching
Good to know I was lying or going senile... or both... yet. Neil Sleightholm wrote: > I have examined the code some more and it follows the model Rob outline and > uses component state to determine what to do. > > Neil > > Neil Sleightholm > X2 Systems Limited > n...@x2systems.com

Re: [WiX-users] allow user to specify a location

2009-02-24 Thread Rob Mensching
Take a look at how the WIXUI_INSTALLDIR is used in the WiX source code for the WixUIExtension. That should provide a complete (and working!) example. Naga Ram .C wrote: > I want the installer to allow user to specify a location where it can > install some set of files. This need not have to be

Re: [WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread Rob Mensching
MSI SDK has a list of standard Hardware Properties. That one is in there. akash bhatia wrote: > Hi, > > How can we find for the type of target machine (32 bit or 64 bit)? > > Right now am checking for the existence of the folder * [WINDIR]\SysWOW64* ? > > Is this the right way to check for type o

[WiX-users] How to find for 32 or 64 BIT target machine on fly?

2009-02-24 Thread akash bhatia
Hi, How can we find for the type of target machine (32 bit or 64 bit)? Right now am checking for the existence of the folder * [WINDIR]\SysWOW64* ? Is this the right way to check for type of target machine ? Thanks, Akash --

Re: [WiX-users] Patch uninstall requires the original base MSI and I don't know why

2009-02-24 Thread Bob Arnson
Tony Juricic wrote: > The uninstallable patch is looking for the original MSI that was > extracted from Setup.exe chainer into temporary folder and is since long > gone. > > I re-read the docs but I am still clueless as to what caused it. > You uninstalled a patch: That performs a repair of th

[WiX-users] Patch uninstall requires the original base MSI and I don't know why

2009-02-24 Thread Tony Juricic
The uninstallable patch is looking for the original MSI that was extracted from Setup.exe chainer into temporary folder and is since long gone. I re-read the docs but I am still clueless as to what caused it. Naturally, I want to uninstall the patch without requiring the access to the origina

Re: [WiX-users] Question: How to get the complete value of target dir

2009-02-24 Thread Wilson, Phil
Spell it properly case-sensitive - TARGETDIR Phil Wilson -Original Message- From: Nan Zang [mailto:naz...@exchange.microsoft.com] Sent: Tuesday, February 24, 2009 1:30 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Question: How to get the complete value of target dir I

Re: [WiX-users] Date calculations

2009-02-24 Thread Reddy, Mallikarjun (GWM-CAI)
Thanks John. That helped -Original Message- From: John Nannenga [mailto:john.nanne...@microsoft.com] Sent: Tuesday, February 24, 2009 2:40 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Date calculations DateAdd returns a date, Session.Property must

[WiX-users] Question: How to get the complete value of target dir

2009-02-24 Thread Nan Zang
I am going to write a registry key value which is supposed to be "c:\program files\my product\eventmessages.dll". My target dir is "c:\program files\my product". However, when I use the following statement in the wix: The regkey value is set to be "\EventMessages.dll". The value of targetdir

Re: [WiX-users] Using WiX in a Team Build Environment

2009-02-24 Thread Lee Baker
Hi Neil, Thanks so much for your pointer. That worked a treat, and makes me think I am a bit of a duffer for not finding it earlier. Cheers Lee *Re: [WiX-users] Using WiX in a Team Build Environment* From: Neil Sleightholm - 2009-02-24 07:18 Have you tried using the built in project referen

[WiX-users] How to make the UI Dialog RightToLeft when installing on an machine with Arabic lenguage?

2009-02-24 Thread Tom Tseng
Hi, I tried by adding RightToLeft="yes" to the one of the Dialogs and its Control's attribute without any success. Are there other things I need to do to make it happens? Thanks, Tom -- Open Source Business Conference

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Roy Abou Assaly wrote: > > > > Roy Abou Assaly wrote: >> >> >> >> Bob Arnson-6 wrote: >>> >>> Roy Abou Assaly wrote: > Value="00 01" gives: > error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal value for registry entry regA16537AC885C7B5BB2301

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Roy Abou Assaly wrote: > > > > Bob Arnson-6 wrote: >> >> Roy Abou Assaly wrote: Value="00 01" gives: >>> error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal >>> value >>> for registry entry regA16537AC885C7B5BB23019846BB931C1. >>> Value="00;01" gives: >>> err

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Bob Arnson-6 wrote: > > Roy Abou Assaly wrote: >>> Value="00 01" gives: >>> >> error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal >> value >> for registry entry regA16537AC885C7B5BB23019846BB931C1. >> Value="00;01" gives: >> error LGHT0204 :ICE70: The value '#x01;02' is

Re: [WiX-users] Date calculations

2009-02-24 Thread John Nannenga
DateAdd returns a date, Session.Property must take a string, hence the type mismatch error you were likely receiving. Try this instead... Use FormatDateTime to convert your date object... SUB CalcMigratorDate Session.Property("OLDDATE") = FormatDateTime(DateAdd("d",-30,DateValu

[WiX-users] Can I prevent shut down of SQL Server service during uninstall on Windows 2008 Server?

2009-02-24 Thread Swandog
Hi: I have an installer (built with WIX v. 2.0.2912.0) that has been working on Windows 2003 Server, but on Windows 2008 Server it fails during uninstall. The point where it fails is when it tries to connect to SQL Server. The error is "SQL Server does not exist or access denied." Wh

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Bob Arnson
Roy Abou Assaly wrote: >> Value="00 01" gives: >> > error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal value > for registry entry regA16537AC885C7B5BB23019846BB931C1. > Value="00;01" gives: > error LGHT0204 :ICE70: The value '#x01;02' is an invalid hexadecimal value > for re

Re: [WiX-users] Problem with deferred Custom Action

2009-02-24 Thread Jacob, Christian
I found out that when setting the InScript execution type of the managed CA from Deferred in System Context to Deferred Terminal Server Aware, then it works. Jacob, Christian wrote: > After some research I found out that the user who calls LoadUserProfile needs > the SeTcbName privilege (Act as

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
On Tue, Feb 24, 2009 at 1:46 PM, Bob Arnson-6 (via Nabble) < ml-user+58260-683222...@n2.nabble.com > wrote: > Roy Abou Assaly wrote: > > > > > > But I keep getting the error: > > > > error LGHT0204 : ICE70: The value '#x01,00' is an invalid hexadecimal > value > > for registry entry reg001E0C73C

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Bob Arnson
Roy Abou Assaly wrote: > > > But I keep getting the error: > > error LGHT0204 : ICE70: The value '#x01,00' is an invalid hexadecimal value > for registry entry reg001E0C73C604AACC31F75D0 > > How do I express this correctly? > The MSI doc doesn't say. I'd try removing the commas. -- sig://boB

Re: [WiX-users] Problem with deferred Custom Action

2009-02-24 Thread Bob Arnson
Jacob, Christian wrote: > After some research I found out that the user who calls LoadUserProfile needs > the SeTcbName privilege (Act as part of the Operating System). However, since > the custom action is run deferred in System context, I thought, it already > HAS all necessary privileges. N

[WiX-users] Date calculations

2009-02-24 Thread Reddy, Mallikarjun (GWM-CAI)
Hello, In a custom action, I am going to run an exe with args. One of the args is a date that is 30 days older than today. Could some let me know how this could be done? Here is how I am trying to solve this. Create a property calle "OLDDATE" Create a custom action that has vbscript which runs

Re: [WiX-users] Updating program from InstallShield Setup with .msi setup fails

2009-02-24 Thread Bob Arnson
Sebastian Klemm wrote: > The two Setups have the same Upgrade Code, the WiX Setup has a higher Version > number. > Well, error code -2147287038 is ERROR_FILE_NOT_FOUND, so does C:\Windows\Installer\908c3.mst exist? Can you reproduce the problem with a fresh install of the old product? You c

[WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Hi, I have a registry key that is of type binary and has is a long series of numbers. When I export it from regedit, it looks like this: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FooBar\Security] "Security"=hex:01,00,14,80,90,... I'm having trouble expressing this inside the Regist

[WiX-users] Problem with deferred Custom Action

2009-02-24 Thread Jacob, Christian
Hi folks, The following is not quite a wix-related question although I am using DTF for developing my managed custom actions. This is what I need to do during the setup: - Create a user - Assign the SeServiceLogonPrivilege to the new user - Logon the user programmat

[WiX-users] custom action ExeCommand attribute

2009-02-24 Thread Igor Likhotkin
Hi, I am sort of new to wix. I am still evaluating it to see if it can be adapted for what I need. Here is the issues I ran into. I have a custom action: The custom action does get called, but the command line arguments come in garbled. That is the switch value for -d switch

[WiX-users] allow user to specify a location

2009-02-24 Thread Naga Ram .C
I want the installer to allow user to specify a location where it can install some set of files. This need not have to be in the same directory tree where the application & its dependencies are installed. I already using WIXUI_INSTALLDIR property so as to get the installation directory to insta

Re: [WiX-users] Switching from a perUser to perMachine install during upgrade

2009-02-24 Thread Dave Wright
Good point, but at this point I'm happy to have something that works at all. It's really just a stop-gap to get us through this upgrade cycle and won't be needed once everyone is on perMachine. -Dave On Mon, Feb 23, 2009 at 6:52 PM, Bob Arnson wrote: > Dave Wright wrote: > > FYI, I finally did

Re: [WiX-users] ProgressText during Custom actions Execution

2009-02-24 Thread John Nannenga
You can control the progress bar via messaging... Reference: http://msdn.microsoft.com/en-us/library/aa371672(VS.85).aspx Use a message type of msiMessageTypeProgress and fill out the record information as documented for what you want to accomplish. -Original Message- From: Neil Sleigh

Re: [WiX-users] update Hotkeys for custom ButtonType

2009-02-24 Thread akash bhatia
Thanks John & Richard. it worked... appreciate tht :) On Mon, Feb 23, 2009 at 11:12 PM, John Nannenga wrote: > Corrected my type-o on the Text element below... had a quote in there that > didn't belong... > > -Original Message- > From: John Nannenga [mailto:john.nanne...@microsoft.com]