[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

How to stop Windows Installer from incorrectly installing files to the larger of two or more drives

Asked by The_Dark_Rabbit in Windows Installer, WISE

Tags: Altiris, Wise Package Studio, 7.0, MSI, Windows Installer

I've created a reasonably simple MSI; essentially all it does is install a startup script, activate it, and copy two necessary files to C:\Temp\Updates.

Everything works fine... except when I run the MSI package on a machine on which the E:\ drive is larger than the C:\ drive.  In that case, the files destined for C:\Temp\Updates end up in E:\Temp\Updates.

I've tried installing with several variations of the following command line:

start /wait msiexec /i "T:\software\MSI\StartupScript_1.0.msi" /TARGETDIR=%systemdrive%\ /l* C:\msilog.txt /passive

I posted a question on this previously and got an answer: my current solution is to use a custom action that redefines [INSTALLDIR2] as "C:\Temp".  However, I sometimes work with machines that do not use C:\ as their system drive, so coding this without a variable makes me uneasy.

In my previous question, one expert (Merowinger) suggested that I attempt to find the property in the MSI that triggers the check for free space.  This struck me as a better solution, but I could not identify the property (there is a "Free Space" property, but it seems to be checking for registry space or something).  Can someone identify that property for me so I can set it to 'disabled'?

Cheers,

TDR
[+][-]04/22/08 07:08 AM, ID: 21411227Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/29/08 06:20 AM, ID: 21668800Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05/29/08 06:29 PM, ID: 21674640Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/26/08 11:54 PM, ID: 21881410Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/27/08 01:23 AM, ID: 21881721Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/27/08 04:55 AM, ID: 21882693Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/24/08 08:33 PM, ID: 22085813Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/31/08 07:50 PM, ID: 22855484Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10/31/08 07:53 PM, ID: 22855493Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/04/08 05:24 AM, ID: 22875935Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/07/08 07:07 PM, ID: 22910527Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11/10/08 08:05 PM, ID: 22927711Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/17/08 06:23 PM, ID: 22981589Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/09/09 08:16 PM, ID: 23843380Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/11/09 09:42 PM, ID: 23864868Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/12/09 12:55 AM, ID: 23865716Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/15/09 05:54 AM, ID: 23890973Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10/05/09 06:44 PM, ID: 25501311Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 / EE_QW_Related_20080208