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


[WiX-users] Command line parameters

2007-10-21 Thread RussGreen

I have 2 public properties in my MSI file.  Each property is set a default
value as well has a registrysearch to find a value..

e.g.

Property Id=MDBFULLPATH Value=C:\Program
Files\eProject\database\eProject - empty.mdb
  RegistrySearch Id=MDBPathRegistry Type=raw Root=HKLM
Key=Software\eProject Name=DataSource /
/Property

What I want to be able to do is pass in a value for this property from the
command line but that only works when RegistrySearch is commented out.

If the RegistrySeach returns a value then that should be used,
else the command line value should be used,
else the defautl Value should be used as a last resort.

Is this possible?

Russ
-- 
View this message in context: 
http://www.nabble.com/Command-line-parameters-tf4666532.html#a13330344
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] Command line parameters

2007-10-21 Thread RussGreen

Ah so simple
-- 
View this message in context: 
http://www.nabble.com/Command-line-parameters-tf4666532.html#a13332073
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] WixUI_Mondo.wxs + AdminInstallUI

2007-10-17 Thread RussGreen

I did the UI-less admin install and the error still occurred so it's safe to
say it's not in my UI.

This is my wxs fileUnfortunately I don't know enough about WiX yet to
understand if there are any problems with it. 
http://www.nabble.com/file/p13248873/eProject.wxs eProject.wxs 

I'm not getting any errors when I build the package using:

candle.exe eProject.wxs
light.exe -out eProject.msi eProject.wixobj eprojectwixui.wixlib -loc
WixUI_en-us.wxl
-- 
View this message in context: 
http://www.nabble.com/WixUI_Mondo.wxs-%2B-AdminInstallUI-tf4621303.html#a13248873
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] WixUI_Mondo.wxs + AdminInstallUI

2007-10-16 Thread RussGreen

Thanks.  Any idea where I can get the standard AdminUI dialogs in WXS format?

Also, just looked at the logs and I've got an error with an event ID of
10005 that relates to the error dialog I have described.

Product: eProject -- The installer has encountered an unexpected error
installing this package. This may indicate a problem with this package. The
error code is 2265. The arguments are: , -2147287038, 

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
-- 
View this message in context: 
http://www.nabble.com/WixUI_Mondo.wxs-%2B-AdminInstallUI-tf4621303.html#a13231551
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] WixUI_Mondo.wxs + AdminInstallUI

2007-10-14 Thread RussGreen

I've followed the tutorial http://www.tramontana.co.hu/wix/lesson2.php to
create the UI for my MSI file and modified a copy of WixUI_Mondo.wxs to
include a new custom dialog CollectDatabaseDlg.

This is my customised wxs file 
http://www.nabble.com/file/p13198020/eprojectwixui.wxs eprojectwixui.wxs  
and this is the wxs file used to build the MSI 
http://www.nabble.com/file/p13198020/eProject.wxs eProject.wxs 

In order to build my eprojectwixui.wixlib I downloaded the dialog wxs files
contained in the wix2-sources.zip  from
http://wix.sourceforge.net/releases/2.0.5805.0/.  Unfortunately there seem
to be no adminUI dialogs 

When I build my MSI and install it normally it all works OK. 

When I try an administrative install of the msi using MSIEXEC /a I get an
error dialog:

The installer has encountered an eunexpected error installing this package.
This may indicate a problem with this package. The error code is 2265

How can I add an AdminUISequence to my eprojectwixui.wxs file and build an
MSI with administrative install capabilities that also includes my custom
dialog?

TIA

Russ
-- 
View this message in context: 
http://www.nabble.com/WixUI_Mondo.wxs-%2B-AdminInstallUI-tf4621303.html#a13198020
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] Default regsearch values and upgrading

2007-10-13 Thread RussGreen

OKI've changed the package ID to the question marks and tried changing
the 3rd field in the product versionran the installer again and now I
get...

Another version of this product is already installed. Installation of this
version cannot continue. .

More googling for me today then.

Russ
-- 
View this message in context: 
http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13188779
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] Default regsearch values and upgrading

2007-10-13 Thread RussGreen

So the only way I seem to be able to get this to work is to change the
product guid as well as the package guid.

that doesn't seem right but it seems to work
-- 
View this message in context: 
http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13189207
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] Default regsearch values and upgrading

2007-10-13 Thread RussGreen

sorted it. http://www.nabble.com/file/p13190669/eProject.wxs eProject.wxs 
-- 
View this message in context: 
http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13190669
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] Default regsearch values and upgrading

2007-10-12 Thread RussGreen

Hi,

I'm new to WiX and have been trying the WiXEdit tool to build an installer.
I have been working through a turorial and successfully built the initial
MSI file with a custome dialog to collect user information that will be
written to the registry but now I have come up against a few issues I can't
get around:

1 - Default value of a propoerty

I have 2 properties that are populated by a regirstry search. These property
values then form the default values in textboxes on my custom form. This
works OK. When the registry key is not there or empty how can I give the
property a default value?

Property Id=MDBFULLPATH
  RegistrySearch Id=MDBPathRegistry Type=raw Root=HKLM
Key=Software\eProject Name=DataSource /
/Property

2 - Upgrade / overwright existing installation

I'm getting a bit confused about this. I was previously using the freeware
AdvancedInstaller to build by MSI http://www.advancedinstaller.com/ . There
was a simple tick box in the editor that meant the MSI file created would
automatically upgrade older versions of the product already installed.  How
can I achieve this in WiX? 

I am happy for every minor upgrade to be treated as a major upgrade but I
can't get past the MSI detecting that another version of the product is
already installed.

This is as far as I have managed to get 
http://www.nabble.com/file/p13170370/eProject.wxs eProject.wxs   
http://www.nabble.com/file/p13170370/eprojectwixui.wixlib
eprojectwixui.wixlib 

TIA

Russ Green


-- 
View this message in context: 
http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13170370
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] Default regsearch values and upgrading

2007-10-12 Thread RussGreen

Thanks Chad,

I tried that. I built the installer and installed it on a test machine.  I
then changed the product version from 2.3.2836.20968 to 2.3.2836.20970 and
generated a new product GUIDeverything else stayed the same. I then
rebuilt the MSI and ran it again on my test machine and got the
Change\Repair\Remove dialog on the installer. 

This is my edited wxs file
http://www.nabble.com/file/p13177036/eProject.wxs eProject.wxs 

What am I still missing?
-- 
View this message in context: 
http://www.nabble.com/Default-regsearch-values-and-upgrading-tf4611878.html#a13177036
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