Re: [WiX-users] Admin install + saving variables

2007-10-23 Thread Rob Mensching
Did you try marking the Properties you want saved into the admin image as 
Admin='yes'?  Doing that adds the Property (even if you don't provide a 
value) to the AdminProperties Property as described in the MSI SDK that seems 
like it does what you want.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RussGreen
Sent: Sunday, October 21, 2007 07:42
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Admin install + saving variables


I've built my WiX project using mondo and adding in a custom dialog and admin
UI sequence.

My custom dialog collects 2 paths 2 files on the users system. A database
and text file on the users network. These files are required by the
application and stored in the registry.

A version of the custom dialog is also in my adminUI.  What I want to do is
to be able to run and admin install and input the paths to these 2 files
(this works) but then when I run the MSI created during the admin install
the values still use the default values for a new install and not the values
input during the administrative installation.

I think I might need to create an MSI transform.mst during the admin install
to achieve this

How can I do this?

Russ
--
View this message in context: 
http://www.nabble.com/Admin-install-%2B-saving-variables-tf4666295.html#a13329695
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Admin install + saving variables

2007-10-23 Thread RussGreen

Perfect.  Thank you
-- 
View this message in context: 
http://www.nabble.com/Admin-install-%2B-saving-variables-tf4666295.html#a13359896
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Admin install + saving variables

2007-10-21 Thread RussGreen

I've built my WiX project using mondo and adding in a custom dialog and admin
UI sequence.

My custom dialog collects 2 paths 2 files on the users system. A database
and text file on the users network. These files are required by the
application and stored in the registry.

A version of the custom dialog is also in my adminUI.  What I want to do is
to be able to run and admin install and input the paths to these 2 files
(this works) but then when I run the MSI created during the admin install
the values still use the default values for a new install and not the values
input during the administrative installation.

I think I might need to create an MSI transform.mst during the admin install
to achieve this

How can I do this?  

Russ
-- 
View this message in context: 
http://www.nabble.com/Admin-install-%2B-saving-variables-tf4666295.html#a13329695
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Admin install + saving variables

2007-10-21 Thread Richard

In article [EMAIL PROTECTED],
RussGreen [EMAIL PROTECTED]  writes:

 A version of the custom dialog is also in my adminUI.  What I want to do is
 to be able to run and admin install and input the paths to these 2 files
 (this works) but then when I run the MSI created during the admin install
 the values still use the default values for a new install and not the values
 input during the administrative installation.

The administrative image will persist property changes, but if you
have custom actions or other code that re-initializes the properties
when you run the install, then the persisted values will be lost.

 I think I might need to create an MSI transform.mst during the admin install
 to achieve this

No, you don't need to do this.  Windows Installer does something like
that for you (exactly what it does is undocumented as you're not
supposed to care about the method used to implement the property
persistence).
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users