[WiX-users] Setting up individual working directories

2009-06-19 Thread Brad
Hi. This is no doubt a very basic question, but I've had a look around and experimented and haven't been able to find a solution, so I'd appreciate any help. I'm using WiX 3.0 and have set ALLUSERS=1 so I can get a 'per-machine' install, with the application installing its shortcuts and program m

[WiX-users] Service Failure actions

2009-06-19 Thread E K
I'm interested in having my service restart itself on failures... after pouring over the documentation I did find the following: However, this required me to add the WixUtilExtension.dll, which I did. but when I added that I now am get

Re: [WiX-users] WiX VS Extension Seems to Corrupt Visual Studio Help Documentation

2009-06-19 Thread jnewton
Just to add, if I look at my old MSI created via the MSMs, there is the CustomAction entry of CA_HxMerge_VSCC_v80_x86_enu.3643236F_FC70_11D3_A536_0090278A1BB8.48273237_1399_45CF_801C_338E1AB00E90 3650BIN_60378_x86_enu.48273237_1399_45CF_801C_338E1AB00E90 ms-help://MS.VSCC.v90 I don't see

[WiX-users] Trying to use Installed property in control condition

2009-06-19 Thread David Bartmess
I'm trying to use the "Installed" property inside a control condition as below, and it always seems to be evaluating to "NOT Installed". How can I use this in the dialog? Installed NOT Installed Thanks for any help! David Bartmess --

[WiX-users] WiX VS Extension Seems to Corrupt Visual Studio Help Documentation

2009-06-19 Thread jnewton
I'm trying to use the WiXVSExtension to register our help in the Visual Studio documentation instead of the old way of merging in the Microsoft MSMs like VSIPCC_Collection_Files and HTML_Help_Registration__RTL_X86..., etc. The MSI appears to be created correctly with the right tables and every

[WiX-users] Registering Complus components

2009-06-19 Thread MacDiarmid, James D
It appears I'm still having some issue with registering my complus dll component. I know I did see it install and it was listed in Component Services, however when I went to Add and Remove Programs I noticed that I somehow managed to install the application 3 times and had 3 instances listed in A

[WiX-users] Accessing Binary stream data

2009-06-19 Thread Tom Crozier
Hi all - How can I access the data stored in a binary stream inside a custom action? For example if I wanted to have notepad display the contents of a ReadMe.txt file that was added to the installer as a binary. Not Installed Thanks - TopCat

[WiX-users] Environmet Variable Propagation

2009-06-19 Thread JW
Some legacy components of our application require an environment variable that we are setting with the Environment element. This is the WiX code: . On Windows 2003 it is not propagated to Command Prompt windows that are opened in the same session. (This happens with both 3.0.4805 and 3.0.5271.) T

Re: [WiX-users] Documenting installation packages

2009-06-19 Thread lesterbangs
+1 on this... something like C#'s XML Documentation or Sandcastle for WiX would be huge. Seeing that WiX projects are just XML files, probably the solution would involve some sort of XSL translation. DexterSinister wrote: > > How are folks here documenting their installation packages ? > > Ar

[WiX-users] Documenting installation packages

2009-06-19 Thread DexterSinister
How are folks here documenting their installation packages ? Are there any automated tools for doing this ... ? If you're doing this manually, what information are you capturing ... and how are you presenting it ? [charts / spreadsheet type table(s) / ???] I'm working on this issue ... and ther

[WiX-users] multiprocessor racing when compiling common wixlib

2009-06-19 Thread Lian Jiang
Hi, I use wix3.5 and msbuild in coreXT. There are two wix projects (say A and B) referencing to a common wixlib project. When these projects are built in a multi processor machine, it throws "common.wixlib is used by another process.". I guess the procedure to generate this error is: Step 1.

Re: [WiX-users] Error in building wix 3: Property 'file.global.include' has not been set.

2009-06-19 Thread Jirong Hu
Thanks a lot. I took another approach to avoid re-build the wix3. Jirong -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Wednesday, June 17, 2009 11:31 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error in building wix

Re: [WiX-users] : Unresolved reference to symbol 'Dialog:CancelDlg' in section 'Fragment:'

2009-06-19 Thread Jirong Hu
Yes, you are right. I was porting wix2 to wix3. Thanks a lot. Jirong -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, June 18, 2009 3:49 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] : Unresolved reference to symbol

[WiX-users] How to define batch copy in wix?

2009-06-19 Thread Jiang, Chunyan (GE Healthcare)
Hi Wix-users, Is it possible to copy batch files from the source folder to target folder in wix installation? I only know to add file in . For exmple, if I want to copy all .txt files from A folder to the target install. How can I define it in wix? Like *.txt? Regards, Chunyan ---

Re: [WiX-users] Setting dialog navigation from filesearch property not working

2009-06-19 Thread David Bartmess
Any ideas on this problem? I've been beating my head against it for two days. Thanks! -Original Message- From: David Bartmess [mailto:david.bartm...@wallst.com] Sent: Thursday, June 18, 2009 3:47 PM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Setting

Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Kim Gybels
> I forgot two things: [%VariableName] can only be used with UI-Elements > that are displayed to the user. > In all "formatted" strings, not just UI-elements. http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx > If you want to use environment variables within WiX-scripts as > conditions,

[WiX-users] Multiple Files in one component vs a single file per component

2009-06-19 Thread MacDiarmid, James D
What is the impact patch/fix on doing an upgrade/patch/fix if I have multiple files in one component versus having a single file per component? I remember reading something about this but I can't seem to locate it now. Thanks, Jim -

Re: [WiX-users] Feature migration during a Major upgrade

2009-06-19 Thread Shawn Dwyer
I just wanted to let everyone know that after working with MS support this issue has been resolved, and it turned out to be a misundertanding on my part about the InstallState enum in my code using DTF. We ran the original installer selecting only one feature. We then ran the msiinv.exe tool and

[WiX-users] Question on Patching Mechanism - Patching checks all files copied during installation

2009-06-19 Thread Sudhakaran, Suraj
My installer copies certain number of files during installation. During the application usage some files may get deleted. When I am patching this installation, patching is failing because it is unable to find these original files that got deleted. Is there any way I can make the patching proc

Re: [WiX-users] Why is there errors whenIadd.exetoinstallationpackage

2009-06-19 Thread Peter Shirtcliffe
Information and a download link for orca is here http://support.microsoft.com/kb/255905 The source code isnt causing your error so follow my and Pally's advice and see what you can find in the MSI and in the exes. Good luck. -Original Message- From: Jiang, Chunyan (GE Healthcare) [mailt

Re: [WiX-users] How to get the condition in a control right?

2009-06-19 Thread Jirong Hu
The following works. Thank you very much for your help. -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Friday, June 19, 2009 3:36 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] How to get the co

Re: [WiX-users] Why is there errors when Iadd.exetoinstallationpackage

2009-06-19 Thread Dirk Räder
Hi, orca is a tool for opening and editing MSI-files. It is available from Microsoft inside the Installer SDK. /Dirk 2009/6/19 Jiang, Chunyan (GE Healthcare) : > > I would like to do as you mentioned opening my MSI in orca. But I don't know > what is orca? > ---

Re: [WiX-users] Why is there errors when Iadd.exetoinstallationpackage

2009-06-19 Thread Jiang, Chunyan (GE Healthcare)
Hi Peter, Thank you for your reply. The wix source is as below, and the line with "vphl7grep.exe" is the problematic code:

Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Dirk Räder
Hi, have a look at http://www.tramontana.co.hu/wix/lesson5.php#5.4 You can use [%VariableName] to use an environment variable in formatted strings. Hope it helps, Dirk Raeder 2009/6/19 Natarajan, Thangaraj (MLITS) : > Hi, > > I have defined a environment variable in my system. I want to use t

Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Dirk Räder
Hi again, I forgot two things: [%VariableName] can only be used with UI-Elements that are displayed to the user. If you want to use environment variables within WiX-scripts as conditions, you have to use them via the preprocessor: $(env.VariableName) will be resolved to the value of %VariableName

[WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Natarajan, Thangaraj (MLITS)
Hi, I have defined a environment variable in my system. I want to use that Environment variable in Wix. How to go about it? Thanks, Thangaraj Natarajan Associate Consultant.GWMT (TASCS) Merrill Lynch India Tech Service Pvt Ltd., --

Re: [WiX-users] Using output from heat directly in Product.wxs

2009-06-19 Thread Christer Nordvik
> You can use the -dr option to set the DirectoryRef automatically for you > (and you probably want to use the -cg option to generate a > ComponentGroup for you to use in your Feature as when your components > change, they're not going to be installed by your installer if they're > not specified in

Re: [WiX-users] Why is there errors when I add.exetoinstallationpackage

2009-06-19 Thread Peter Shirtcliffe
No, the Product/@Language attribute of the WiX does not affect which files you can put into the installer. Could you post the wix source for one of the components that cause this error please ? Since this is an ice validation error, you should be able to open your MSI in orca, look at the file

Re: [WiX-users] Why is there errors when I add .exetoinstallationpackage

2009-06-19 Thread Pally Sandher
Check the language entry on the .exe file. If it doesn't exist in the "Decimal value" column in this list http://msdn.microsoft.com/en-us/library/0h88fahh.aspx it's not valid & is causing the error. Again follow Peter's instructions to fix it. Palbinder Sandher Software Deployment & IT Adminis

Re: [WiX-users] Why is there errors when I add .exetoinstallationpackage

2009-06-19 Thread Jiang, Chunyan (GE Healthcare)
I checked the vphl7grep.exe, which caused the error. The properties shows the version tab and Language entry is "Languageneutral". And the setting for my wix project is: Is it the reason that causes LIGHT error? How to resolve it? Chunyan -Ursprüngliche Nachricht- Von: Jiang, Chuny

Re: [WiX-users] How to get the condition in a control right?

2009-06-19 Thread Pally Sandher
Try the following: 1 It should then be enabled if the passwords match or if the ComboBox has a value selected but disabled otherwise. If you only want it to be enabled only when the passwords match and the ComboBox has a value selected, change the "OR" in the condition to "AND". Good lu

Re: [WiX-users] Using output from heat directly in Product.wxs

2009-06-19 Thread Pally Sandher
You can use the -dr option to set the DirectoryRef automatically for you (and you probably want to use the -cg option to generate a ComponentGroup for you to use in your Feature as when your components change, they're not going to be installed by your installer if they're not specified in a Feature

Re: [WiX-users] Why is there errors when I add .exe toinstallationpackage

2009-06-19 Thread Jiang, Chunyan (GE Healthcare)
Thank you for your information. You are right. The qjpeg4.dll has no language attribute, which might cause the third Warning LGHT1076. Since it is only the warning, we could ignore it at the moment. But the first and the second errors are still not resolved. Could some one else give me some hin

[WiX-users] Using output from heat directly in Product.wxs

2009-06-19 Thread Christer Nordvik
Hi! I am using Heat to harvest files from a website, but how do I include the fragment from heat directly in my Product.wxs? I had to rename the top dir from: http://schemas.microsoft.com/wix/2006/wi";> to: http://schemas.microsoft.com/wix/2006/wi";> and then include th