[WiX-users] Write and read values from .ini file

2010-02-16 Thread Rahul.Ekbote
Hi, How can I read and write values into .ini file. Thanks, Rahul Ekbote -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10

Re: [WiX-users] Write and read values from .ini file

2010-02-16 Thread Yan Sklyarenko
Take a look at the IniFile (http://wix.sourceforge.net/manual-wix3/wix_xsd_inifile.htm) and IniFileSearch (http://wix.sourceforge.net/manual-wix3/wix_xsd_inifilesearch.htm) elements. -- Yan -Original Message- From: rahul.ekb...@sungard.com [mailto:rahul.ekb...@sungard.com] Sent:

[WiX-users] Problem with Merge Module

2010-02-16 Thread Christian Kraut
Dear Support Community, I have a really big issue. I have created a merge module called TestMergeModule. This module installs some files and writes two or three values into the registry. Now, I want to write some installation logic for this merge module. Installation logic: 1.)Install

Re: [WiX-users] dependency on some service

2010-02-16 Thread Novaisas
Thanks Blair, I haven't tried the CA, but I will keep the advice in case my installer will get more complicated. For now I have solved the issue by StartServices Sequence=5900IsService/StartServices I would be in trouble if I had two unrelated services to start, but since it is the only one it

[WiX-users] Create a single Setup.exe for multiple Msi

2010-02-16 Thread Sagar1111
i have a set of 3 msi and i wanted to create a setup.exe file which would should give user an interface to to select or deselect which msi to run. And this setup.exe would call the selected MSI in sequence i found the following option (dont know if they are right) 1) bootstrapper (

Re: [WiX-users] Admin check in Win 2008?

2010-02-16 Thread Tabmow
Hi Blair, Sascha, I tried it again this morning, and if I turn UAC off, I get the behaviour I want: a non-admin user gets blocked, and a user that is part of Administrators group runs the MSI just fine. If i turn UAC on, a non-admin user gets blocked, but now a user that is part of

[WiX-users] Why is my property deleted

2010-02-16 Thread Harvey, John Ctr USAF Warfighter's Edge
This one has me stumped. I have a dialog. The dialog has a combo box. The list of the combo box is populated in a custom action. When running the install, the list on the combo box has nothing. When looking in the log, I can see where the list is getting populated and also there is a line when

Re: [WiX-users] Why is my property deleted

2010-02-16 Thread Harvey, John Ctr USAF Warfighter's Edge
Sorry, I forgot to specify. The property is TIER1LIST. I separated out the line that has the delete below. -Original Message- From: Harvey, John Ctr USAF Warfighter's Edge [mailto:john.har...@wedge.hpc.mil] Sent: Tuesday, February 16, 2010 8:12 AM To: General discussion for Windows

[WiX-users] Windows Installer XML toolset version 3.0.4805

2010-02-16 Thread Иван Петров
Hello! I need the Windows Installer XML toolset version 3.0.4805. Can You provide me this version of WiX? Thanks! -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and

Re: [WiX-users] Windows Installer XML toolset version 3.0.4805

2010-02-16 Thread Yan Sklyarenko
It seems you are referring the beta-exit build of WiX. It can be found by this link: http://wix.sourceforge.net/releases/3.0.4805.0/, but it seems to be broken right now... Maybe, WiX admins at sourceforge.net can help here? -- Yan -Original Message- From: Иван Петров

[WiX-users] WIX 3.5 and VS 2010 RC

2010-02-16 Thread Sylvain Lavoie
Hello! I'm new to WIX and I just installed the Visual Studio 2010 RC When I reopened the solution that contain my Wix Setup Project I received an error : setupWix.wixproj Cannot be opened because its project type (.wixproj) is not supported by this version of the application

Re: [WiX-users] Microsoft merge modules and policy modules, what to include?

2010-02-16 Thread Blair
Private fixes from Microsoft released to different customers could also break you since they may be distributed by those customers without your knowing about them (since they are not distributed or announced generally). -Original Message- From: Sascha Beaumont

Re: [WiX-users] Admin check in Win 2008?

2010-02-16 Thread Blair
That is exactly what I explained. With UAC on, the user token you launch the MSI with is not a member of Admins (the token you retrieve clicking the Continue button is). To compensate, Windows Installer considers everyone a member of Administrators (since UAC provides over-the-shoulder

Re: [WiX-users] WIX 3.5 and VS 2010 RC

2010-02-16 Thread Blair
Support for released builds of VC always follow general availability of those releases, usually in less than 3 weeks. There is a good chance that support will be in this week's build. -Original Message- From: Sylvain Lavoie [mailto:slav...@fortsum.com] Sent: Tuesday, February 16, 2010

Re: [WiX-users] Why is my property deleted

2010-02-16 Thread Harvey, John Ctr USAF Warfighter's Edge
NVM... I had a subtle error in my custom action. Apparently I need to broadcast my stupidity before I can see it. -Original Message- From: Harvey, John Ctr USAF Warfighter's Edge [mailto:john.har...@wedge.hpc.mil] Sent: Tuesday, February 16, 2010 8:21 AM To: General discussion for

Re: [WiX-users] Why is my property deleted

2010-02-16 Thread Blair
Welcome to the club smile/. -Original Message- From: Harvey, John Ctr USAF Warfighter's Edge [mailto:john.har...@wedge.hpc.mil] Sent: Tuesday, February 16, 2010 9:35 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Why is my property deleted NVM... I

[WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread jnewton
I'm trying to achieve the same functionality that NAnt provides with the property::get-value function in WiX. I have a list of languages that I need to loop through like so: ?define chs_cost = ... ? ?define cht_cost = ...? ?foreach lang in chs,cht,deu,fra,jpn,kor ? ?define cost =

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread Bob Arnson
On 2/16/2010 4:17 PM, jnewton wrote: ?foreach lang in chs,cht,deu,fra,jpn,kor ? ?define cost = $($(var.lang)_cost) -- Trying to do property::get-value(var.lang + '_cost') ?foreach I don't think it's supported. If that's not possible, can I just create a wix extension in which I

Re: [WiX-users] Windows Installer XML toolset version 3.0.4805

2010-02-16 Thread Bob Arnson
On 2/16/2010 11:15 AM, Yan Sklyarenko wrote: It seems you are referring the beta-exit build of WiX. It can be found by this link: http://wix.sourceforge.net/releases/3.0.4805.0/, but it seems to be broken right now... Maybe, WiX admins at sourceforge.net can help here? It's no longer

Re: [WiX-users] Question regarding the behaviour of custom actions during patch uninstall

2010-02-16 Thread Bob Arnson
On 2/15/2010 2:12 PM, Anurag Pahwa wrote: Thanks. We've built our MSI using wix 2.0 and if I edit the MSI using orca I don't see the ExtendedType column in the custom action table but If I look at any MSI which was built using Wix 3.0 and If I edit it using orca I can see the ExtendedType

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread jnewton
Hi Bob, Do you happen to how I can get a list of all the variables defined in the wix source? I am deriving from the PreprocessorExtension class. -- View this message in context: http://n2.nabble.com/Is-it-possible-to-dynamically-access-a-define-variable-in-WiX-tp4582645p4583015.html Sent

[WiX-users] Session.Log

2010-02-16 Thread Harvey, John Ctr USAF Warfighter's Edge
I have been using Session.Log to send messages to the log. However, my results seem inconsistent. Sometimes messages make it to the log and some don't. Even within the same custom action. Is there something going on with the log that I need to be aware of? Does it optimize out useless messages

Re: [WiX-users] Session.Log

2010-02-16 Thread Wilson, Phil
The docs for MsiEnableLog talk about an option to force immediate flush of every line, otherwise the installer flushes the log buffer after 20 lines. Phil Wilson -Original Message- From: Harvey, John Ctr USAF Warfighter's Edge [mailto:john.har...@wedge.hpc.mil] Sent: Tuesday,

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread Blair
You can retrieve the values of variables that already exist using the GetVariableValue methods of the PreprocessorCore class, but the list of variables itself isn't available. You can create functions in your extension that can combine text or whatever and retrieve variable values (or even error

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread jnewton
Maybe I don't understand the GetVariableValue method, but it seems to need a prefix and a variable name. What if I want the normal variables with the prefix of var like $(var.myVariableName)? I didn't see any options to get the variables you defined in the wix source. Like I was thinking of

Re: [WiX-users] WIX 3.5 and VS 2010 RC

2010-02-16 Thread Rob Mensching
Trying for this Friday. On Tue, Feb 16, 2010 at 9:17 AM, Blair os...@live.com wrote: Support for released builds of VC always follow general availability of those releases, usually in less than 3 weeks. There is a good chance that support will be in this week's build. -Original

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread Blair
You are exactly on the right track. Your extension will implement a prefix of Blah, will respond to a function named GetValue, and that function will return the value from Core.GetVariableValue(var, args[0]); Before your extension is called, $(lang)_cost will be replaced in the preprocessor by

Re: [WiX-users] Getting list items in order from ListBox.

2010-02-16 Thread Sachin Dubey
In case anyone needs. I fixed the issue by adding additional sort on output IList. Code: System.Collections.ArrayList.Adapter(listItems).Sort(); From: sachin.du...@live.com To: wix-users@lists.sourceforge.net Date: Mon, 15 Feb 2010 19:58:25 -0800 Subject: [WiX-users] Getting

Re: [WiX-users] Is it possible to dynamically access a ?define variable in WiX

2010-02-16 Thread Blair
Slight correction (forgot first parameter for GetVariableValue). Corrected inline. -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, February 16, 2010 10:36 PM To: 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] Is it possible to