Re: [WiX-users] How to change TARGETDIR to e drive
I would assume from part 1 you would have to find some way of determining drive E versus D/C prior to install or checking to see if it is available. I struggled with this also and have made it something that the user will need to input during the installation UI. But if you're trying to look for a package deal, you may want to see if there is a reg key somewhere specifying the secondary drive and do a registry search and assign that value to the TARGETDIR Property. 2. I don't think you can change it more than once (although trial and error might be your best test for this one) because you're specifying everything prior to the part where it is installing the files and not during the installfiles step. From: Ravit Shapira Sent: Monday, July 30, 2007 2:35 PM To: Pierson Lee (Volt); wix-users@lists.sourceforge.net Subject: RE: Re: [WiX-users] How to change TARGETDIR to e drive Thanks! 1. I've noticed that if I run the setup on a computer that has only a C drive I have to run it using msiexec with the parameter TARGETDIR=e:\ for both install and uninstall, otherwise I get an error that says it cannot find e:\. How can we make a general solution for both computers - one that has both e and c drives and one that has only c drive? My goal is to install our stuff on E if e drive exists and on C if not without using msiexec (only double click). 2. What if in the same setup I have two folders that need to be created: one on E drive and one on D drive, is it okay to change the property TARGETDIR twice in the same msi? Ravit From: Pierson Lee (Volt) Sent: Thursday, July 26, 2007 11:35 AM To: Ravit Shapira; wix-users@lists.sourceforge.net Subject: RE: Re: [WiX-users] How to change TARGETDIR to e drive You don't need it as a custom action. Just specify a property e:\ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira Sent: Tuesday, July 24, 2007 11:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to change TARGETDIR to e drive Hi, I want to add to my previous email that if I run the installation using: ">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e drive. However, my goal is to run the setup without passing any parameters - simply to double click on the msi file. Thanks, Ravit From: Ravit Shapira Sent: Tuesday, July 24, 2007 11:38 PM To: 'wix-users@lists.sourceforge.net' Subject: How to change TARGETDIR to e drive Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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] How to change TARGETDIR to e drive
Thanks! 1. I've noticed that if I run the setup on a computer that has only a C drive I have to run it using msiexec with the parameter TARGETDIR=e:\ for both install and uninstall, otherwise I get an error that says it cannot find e:\. How can we make a general solution for both computers - one that has both e and c drives and one that has only c drive? My goal is to install our stuff on E if e drive exists and on C if not without using msiexec (only double click). 2. What if in the same setup I have two folders that need to be created: one on E drive and one on D drive, is it okay to change the property TARGETDIR twice in the same msi? Ravit From: Pierson Lee (Volt) Sent: Thursday, July 26, 2007 11:35 AM To: Ravit Shapira; wix-users@lists.sourceforge.net Subject: RE: Re: [WiX-users] How to change TARGETDIR to e drive You don't need it as a custom action. Just specify a property e:\ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira Sent: Tuesday, July 24, 2007 11:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to change TARGETDIR to e drive Hi, I want to add to my previous email that if I run the installation using: ">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e drive. However, my goal is to run the setup without passing any parameters - simply to double click on the msi file. Thanks, Ravit From: Ravit Shapira Sent: Tuesday, July 24, 2007 11:38 PM To: 'wix-users@lists.sourceforge.net' Subject: How to change TARGETDIR to e drive Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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] How to change TARGETDIR to e drive
You don't need it as a custom action. Just specify a property e:\ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira Sent: Tuesday, July 24, 2007 11:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to change TARGETDIR to e drive Hi, I want to add to my previous email that if I run the installation using: ">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e drive. However, my goal is to run the setup without passing any parameters - simply to double click on the msi file. Thanks, Ravit From: Ravit Shapira Sent: Tuesday, July 24, 2007 11:38 PM To: 'wix-users@lists.sourceforge.net' Subject: How to change TARGETDIR to e drive Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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] How to change TARGETDIR to e drive
Ravit, looks like you have a condition on your custom action; I think that TARGETDIR="E:\" means do the custom action only if TARGETDIR="E:\". Try changing this the TARGETDIR="E:\" condition to 1, meaning it will always be executed. Friedrich Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca- 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] How to change TARGETDIR to e drive
Hi, you want to launch the custom action, that assigns "E:\" to TARGETDIR only if TARGETDIR has the value "E:\". Your Condition is wrong. In our setup we use a Property that determines if drive e is present and if so, sets the default install path to e, maybe this is something for you either. NOT TARGETDIR Oliver. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira Sent: Mittwoch, 25. Juli 2007 08:46 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to change TARGETDIR to e drive Hi, I want to add to my previous email that if I run the installation using: ">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e drive. However, my goal is to run the setup without passing any parameters - simply to double click on the msi file. Thanks, Ravit From: Ravit Shapira Sent: Tuesday, July 24, 2007 11:38 PM To: 'wix-users@lists.sourceforge.net' Subject: How to change TARGETDIR to e drive Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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] How to change TARGETDIR to e drive
Hi, I want to add to my previous email that if I run the installation using: ">msiexec /i MySetup.msi TARGETDIR=e:\" it does installs what I need under e drive. However, my goal is to run the setup without passing any parameters - simply to double click on the msi file. Thanks, Ravit From: Ravit Shapira Sent: Tuesday, July 24, 2007 11:38 PM To: 'wix-users@lists.sourceforge.net' Subject: How to change TARGETDIR to e drive Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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] How to change TARGETDIR to e drive
Hi, I'm trying to change TARGETDIR to e drive. I tried to do the following but it installs under c drive. TARGETDIR="E:\" I ran the installation using msiexec and created a log file. I looked for the action: AssignEDir2INSTALLDIR and it says that it is skipped due to false condition. 1. Do you have an explanation why the condition is false? I do have e drive in the computer that I use. 2. How can I fix this problem? All I need is to change the default value of TARGETDIR from c:\ to e:\ Thank you in advance, Ravit - 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