Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Craig0ss
Hi That Worked perfect Thanks :) Rob Hamflett wrote: > > You could put a Condition element under the Product element like this: > RUNFROMEXE = 1 > > When you call msiexec from the exe be sure to pass RUNFROMEXE=1 as an > argument. > Double-clicking the MSI file obviously won't provide this

Re: [WiX-users] Wix tool V2

2007-09-06 Thread Dominik Guder
Harini Gurusamy wrote: > > I upgraded my wix tool to v2 and the *.wim file is generating some errors > when building msi. > Does anyone have a *.wim file that works successfully for v2 wix tool ?? > Hi, both wixtools (wixtool and wixtool2) on sf.net are somewhat outdated. You might give wix

[WiX-users] How to know users click the cancel button in custom actions?

2007-09-06 Thread Young Jun Hong
Hello all, I'm a newbie to WiX, and I made a custom deferred action and the corresponding rollback action in VB script. I found that the rollback action is being executed both of when users click the cancel button and when the corresponding deferred custom action encounters an error. I'm looking

Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Schrieken, Rene
Does uninstall from Add/Remove programs also works with this scenario? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig0ss Sent: Thursday, September 06, 2007 9:36 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Make User Run exe when

Re: [WiX-users] service installation

2007-09-06 Thread Rob Hamflett
I think it's a rights issue. I had a similar problem a while ago. What I discovered was that even the Administrator doesn't have the right to start a service by default. This right gets added automatically when you first go into the Serivces console. I had to write a Custom Action to give

Re: [WiX-users] How to know users click the cancel button in custom actions?

2007-09-06 Thread Rob Hamflett
You could set a property when the user clicks Cancel, and have the Custom Action check for it. Rob Young Jun Hong wrote: > Hello all, > > I'm a newbie to WiX, and I made a custom deferred action and the > corresponding rollback action in VB script. I found that the rollback > action is being

Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Rob Hamflett
I wouldn't bet on it. ARP would just run "msiexec /x ". I think you'd have to set whichever property means 'don't register in ARP' and then write the registry entries yourself. Rob Schrieken, Rene wrote: > Does uninstall from Add/Remove programs also works with this scenario? > > -Orig

Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Craig0ss
hmm my bad, i put that code in under the package in the xml file, the msi now displays the msg when its executed, however when the setup.exe is executed the msg is also displayed, im not sure that i have passed the argument properly from the exe to msi as stated below. Any more Ideas Thanks

[WiX-users] something strange about appsearch in vista

2007-09-06 Thread JosephLee
hi all, I made a msi package using wix tools. But now i have a quite strange problem, my program is used under vista and i have problem with the user access control when uninstall the product. Installation of the product is quite normal, but when i click the installer again and in the maintaince d

[WiX-users] Linker error on WiX 3.0

2007-09-06 Thread Anidil
i get the following errors while trying to link using WiX 3.0 parts of the source code accociated with the errors are given at the end. My code work perfectly fine on WiX 2.0. How do i make it work using WiX 3.0? C:\WiX\wix-3.0.2925.0-binaries\testbuild.wxs(54) : error LGHT0204 : ICE18: KeyPa th

[WiX-users] How to get the installation directory in the custom actions for uinstaling

2007-09-06 Thread Young Jun Hong
Hello all, I used an immediate custom action for uinstallation, but I found that I should use a deferred one to make "impersonate='no'" work for the Vista UAC. In the immediate custom action, I could use the installer API to get its InstallLocation registry key, but in a deferred custom action, it

Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Craig0ss
Right then Basically the below code worked when run from a command line //..//..//setup.exe RUNFROMEXE=1 this works fine However i need this done automaticaly when the end user runs the setup.exe from a GUI Below is the code to the bootstrapper that im using and any help on the argument code a

[WiX-users] Installing to SystemFolder\Drivers

2007-09-06 Thread Principher
I am trying to install a file into the C:\Windows\System32\Drivers folder, but cannot figure out how to do it. I have no problem getting the file installed into the SystemFolder (System32) but moving on to Drivers subfolder is giving me trouble :( The code I have tried is the following:

Re: [WiX-users] Installing to SystemFolder\Drivers

2007-09-06 Thread Stefan Pavlik
Hi,... I was using following code to install the driver into system32\drivers folder adn it was working OK. Anyway you should not copy the sys file directly to system32\drivers folder. You should use the inf file to install the driver correctly. regards Stefan

[WiX-users] WiX 3.0 warning

2007-09-06 Thread Anidil
I get the following warning while linking using WiX 3.0. C:\Documents and Settings\Panidil\Local Settings\Temp\3bjempvl\testbuild.msi : warning LGHT1076 : ICE66: Complete functionality of the MsiFileHash table is only available with Windows Installer version 1.5. Your schema is 100. Any comment

Re: [WiX-users] Launch a second installer from MSI

2007-09-06 Thread David Stindl
Yes, but you can control dependencies between installed MSM modules, so you can force to install one module before another... David. 2007/9/5, Bob Arnson <[EMAIL PROTECTED]>: > David Stindl wrote: > > You can e.g. specify, the module has to be installed: > > > > > -- > sig://boB > http://joyofset

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Christopher Painter
I was under the impression from various postings that Votive v2 wasn't as stable/complete as the rest of the toolset and that the real work was done in v3. I'll go back and give it a try though and see how it works. Bob Arnson <[EMAIL PROTECTED]> wrote: Christopher Painter wrote: > Problem is

Re: [WiX-users] Make User Run exe when the msi is run

2007-09-06 Thread Rob Hamflett
I'm not familiar with whatever product you're using for the bootstrapper, sorry. Does the GenerateBootstrapper element really not have an Arguments value, or something similar? Rob Craig0ss wrote: > Right then > > Basically the below code worked when run from a command line > //..//..//setup

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Schrieken, Rene
Main problem with Votive 2.0 is its use of a native project file format (not msbuild compatible). You could however use the Votive 3.0 stuff to have an msbuild compatible project file and change the Import files in the wixproj file to use wix v2.0 msbuild targets.

Re: [WiX-users] WiX 3.0 warning

2007-09-06 Thread Rob Hamflett
This relates to the [EMAIL PROTECTED] value, which from the docs is (major*100 + minor). You've got it set to 100 which is version 1.0, but the hash functionality only works in 1.5. I'd set this value to at least 200. Rob Anidil wrote: > I get the following warning while linking using WiX 3.

Re: [WiX-users] shell Execute : Custom Action help

2007-09-06 Thread Bob Arnson
Anidil wrote: > And adding WIXUI_EXITDIALOGOPTIONALCHECKBOX > will not really help me.Where and how should i be using the > condition?Can't i achieve this functionality when using the WiX standard UI > Extensions? > Yes. WIXUI_EXITDIALOGOPTIONALCHECKBOX is the name of the property the checkbo

Re: [WiX-users] How to know users click the cancel button in custom actions?

2007-09-06 Thread Bob Arnson
Young Jun Hong wrote: > I'm a newbie to WiX, and I made a custom deferred action and the > corresponding rollback action in VB script. I found that the rollback > action is being executed both of when users click the cancel button > and when the corresponding deferred custom action encounters an

Re: [WiX-users] Launch a second installer from MSI

2007-09-06 Thread Bob Arnson
David Stindl wrote: > Yes, but you can control dependencies between installed MSM modules, > so you can force to install one module before another... > Once modules are merged in, their components lose their identity as a set. The resources of all components in the package are installed during

Re: [WiX-users] How to get the installation directory in the custom actions for uinstaling

2007-09-06 Thread Bob Arnson
Young Jun Hong wrote: > I used an immediate custom action for uinstallation, but I found that > I should use a deferred one to make "impersonate='no'" work for the > Vista UAC. In the immediate custom action, I could use the installer > API to get its InstallLocation registry key, but in a defer

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Bob Arnson
Christopher Painter wrote: > I was under the impression from various postings that Votive v2 wasn't > as stable/complete as the rest of the toolset and that the real work > was done in v3. That's correct. You asked about MSBuild. WixTasks.dll and wix.targets are the MSBuild tasks and targets,

[WiX-users] WiX v2 File element question ( ICE30 errors )

2007-09-06 Thread Christopher Painter
What's the WiX best practice for the following scenario? Using WiXAware to generate v2 schema consider these files: Microsoft.Practices.EnterpriseLibrary.Common.dll Microsoft.Practices.EnterpriseLibrary.Logging.dll WiXAware generates file elements with attributes: Name

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Christopher Painter
I'm afraid v2 won't cut it for me then. I'm actually using TFS Team Build and I need the project document to be MSBuild also so I can just call the solution build. Using v3 against v2 binaries seems to work though. Bob Arnson <[EMAIL PROTECTED]> wrote: Christopher Painter wrote: > I was unde

Re: [WiX-users] Component GUIDs

2007-09-06 Thread Chris Ridd
On 5/9/07 4:49, "Bob Arnson" <[EMAIL PROTECTED]> wrote: > Chris Ridd wrote: >> How are Component GUIDs used by the installer during (say) a package >> upgrade, or at other times? Do *I* need to remember the GUIDs for all the >> Components I'm installing? >> > > If you generate GUIDs every time

Re: [WiX-users] Component GUIDs

2007-09-06 Thread Christopher Painter
Stefan Krueger posted recently in the psdk group: "Also with MSI 4.5 you can embed the launcher in the .msi file, eliminationg the need for an external exe, and improving compatibility with deployment via Active Directory. " I wonder if this raises the possibility of addressing issues li

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Matt . Thompson
Chris, I've been following what you've been looking to do here as I'm investigating weather to use InstallShield 2008, WiX or carry on with Visual Studio Deployment projects when we implement a daily build with Team Build. I'm starting the build tests with InstallShield and not to trying WiX yet.

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Christopher Painter
TFS Team Build builds the solution which in turn builds the projects. The project file needs to be MSBuild format ( like in WiX v3 and not in VDPROJ or WiX v2 ). The MSBUILD formatted project then imports the targets file and sets various properties like Content | Compile .. .and so on.

[WiX-users] Real sexual preparations which always work!

2007-09-06 Thread Robin N. Schneider
held in 12 U.S. states. The 2 winning tickets were sold The Spanish team Osasuna visited Rangers at Ibrox Dear {mac04160}! We presentnew unique preparation will increase your phallus. It obtained reputation over the whole world and aided to many people This is theMega Dik! More than 150 000 men in

Re: [WiX-users] Specify column width of VolumeCostList Control

2007-09-06 Thread Man, Shirley
Hi, In my wxl, I put {0}Difference but the literal value of {0} is displayed as the column header. Where should I put the {0} ? Thanks, Shirley From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: September 5, 2007 9:26 PM To: Man, Shirley Cc: wix-users@lists.s

Re: [WiX-users] Remove section using XMLConfig

2007-09-06 Thread hongping
Did you manage to solve this problem of extracting and comparing a substring? I was trying to do something similar and tried using the substring function, but got the error "failed to query verify path". Does anyone know if VerifyPath supports string functions like contains, string-length, subst

[WiX-users] Full Uninstall and Reinstall of Features

2007-09-06 Thread Roy Abou Assaly
Hi, I've been using WiX v2 on XP for a while and I'm moving to WiX v3 on Windows Vista. I have the following setup: Product: Px Components: c1 c2 c3 Features: f1 (c1,c2) - level 1 f2 (c1,c3) - level 2 f3 (c3) - level 3 At the command line, I use: $msiexec /i px.msi /qn ADDLOCAL=f3 in orde

[WiX-users] problem with MsiRMFilesInUse dialog

2007-09-06 Thread John Lalande
I am having a problem when uninstalling on Vista while my application is running. The FilesInUse dialog certainly displays, unfortunately the displayed list is completely empty. >From where does the installer retrieve the application titles? On XP the FilesInUse dialog correctly shows my running

[WiX-users] wix v3 website

2007-09-06 Thread ersm6
Hi, I'm new to v3 and trying to build a msi with websites. candle gives no error. The light command being used is: light -out iplatform.msi iplatform.wixobj -ext wixiisextension.dll "-cultures:en-us" Error I got is the following: error LGHT0103: The system cannot find the file 'C:\Documents

Re: [WiX-users] Specify column width of VolumeCostList Control

2007-09-06 Thread Bob Arnson
Man, Shirley wrote: Overridable="yes">{0}Difference but the literal value of {0} is displayed as the column header. Where should I put the {0} ? In the VolumeCostList control text which in WixUI is {120}{70}{70}{70}{70} The UIText entries control the text in each header, not its size.

Re: [WiX-users] problem with MsiRMFilesInUse dialog

2007-09-06 Thread Bob Arnson
John Lalande wrote: > I am having a problem when uninstalling on Vista while my application > is running. The FilesInUse dialog certainly displays, unfortunately > the displayed list is completely empty. > > From where does the installer retrieve the application titles? On XP > the FilesInUse

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Justin Rockwood
To get back to your original question where you're setting $(WixToolPath) to point to the 2.0 versions. That should work fine unless you try to pass in arguments that only the 3.0 versions support. I don't remember off the top of my head what those new properties are, but you'd probably learn prett

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > I'm interested to know why V2 won't work for you as it does provide support > for MSBuild? > > My understanding of Votive is that it enables WiX projects to be viewed in > VS, still in there text\xml format. If the project is there but Votive > isn't VS marks it as "unava

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Christopher Painter
Thanks for the insight. No jab intended on the IS reference, just stating a fact. After all, VS2005 came out a long time ago ( in computer years ).I am really impressed with your work in this area and I only wish others such as VDPROJ would get with the program. Btw, you might like

Re: [WiX-users] Full Uninstall and Reinstall of Features

2007-09-06 Thread Roy Abou Assaly
Bob Arnson-6 wrote: > > Roy Abou Assaly wrote: >> in order to install f3. By default f1 is installed if ADDLOCAL is >> omitted. >> That's good. However, let's say that I want to install f3 after f1 is >> installed on my computer. What's happening is that f1 is not being >> removed, >> and f3

Re: [WiX-users] shell Execute : Custom Action help

2007-09-06 Thread Anidil
Fine.I got one more question on this..How do i achieve the same functionality in wix 2.0? Bob Arnson-6 wrote: > > Anidil wrote: >> And adding WIXUI_EXITDIALOGOPTIONALCHECKBOX >> will not really help me.Where and how should i be using the >> condition?Can't i achieve this functionality when usin

Re: [WiX-users] How to get the installation directory in the custom actions for uinstaling

2007-09-06 Thread Rob Mensching
Have an immediate CustomAction pass the value to the deferred CustomAction. This is documented in the MSI SDK and the WiX CustomActions do it. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Young Jun Hong Sent: Thursday, September 06, 2007 02:55 To: wix-users@lists.sourceforge.ne

[WiX-users] Problem with Wix and .cab files

2007-09-06 Thread Jarle Aase
Hi List, I'm trying to split the files in an installation to one or more .cab files. If I have understood the schema correct, this is done by adding a "media" node with [EMAIL PROTECTED]"no", and then by having the component or file nodes referencing it's "Id" attribute with their "DiskId" attr

Re: [WiX-users] WiX v2 File element question ( ICE30 errors )

2007-09-06 Thread Rob Mensching
I typically change the ~ to _ (I think that's what heat does). The problem with using ~ in the name is that it actually could conflict with a file on the system. I'd say this was a theoretical except that someone actually hit it in Office some long time back and Derek added this warning so no

[WiX-users] WiX v3 MSMQ and Votive

2007-09-06 Thread Jarrod Marshall
Hello all, Does anyone have an example of using the updated MSMQ extensions in Votive v3? Right now, the trouble I'm having is that the schema seems invisible. Do I need to copy over some more schema files to the WiX MSI install path? Thanks! ---

Re: [WiX-users] Component GUIDs

2007-09-06 Thread Bob Arnson
Chris Ridd wrote: > So I think all we want is the ability to do major upgrades, in which case we > only need to record the Component GUIDs for shared Components. > Well, you can't ignore them entirely; they're useful during debugging, for example. But that's easy enough to do with a version-co

Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

2007-09-06 Thread Christopher Painter
The finer points of MSBuild/Team build are getting lost in these replies so it's kind of pointless to continue.VDPROJ and WiX v2 are proper comparisons because both have .xxproj files that are NOT MSBuild files. Whether or not they `support` MSBuild is a non issue.For example to build b

Re: [WiX-users] Full Uninstall and Reinstall of Features

2007-09-06 Thread Bob Arnson
Roy Abou Assaly wrote: > in order to install f3. By default f1 is installed if ADDLOCAL is omitted. > That's good. However, let's say that I want to install f3 after f1 is > installed on my computer. What's happening is that f1 is not being removed, > and f3 is being installed. MSI doesn't h

Re: [WiX-users] problem with MsiRMFilesInUse dialog

2007-09-06 Thread James Finnigan
Restart Manager registration is to allow the apps to keep their same state (e.g. open the same document just as the user had it before restarting). I would be surprised if it affect the UI like this. However, there are cases when restart manager can't get anything at all because in order to se