This worked.  Thanks.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Thursday, July 20, 2006 1:50 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder

There may be a better way to do this, but to force installation to C: I
would:

<DirectoryRef Id="TARGETDIR">
   <DirectoryId="ROOT_DRIVE" Name="root">
      <Directory Id="Inetpubdir" Name="inetpub">
          <Directory Id="wwwrootdir" Name="wwwroot">
               <all the files that go there>
          <Directory>
      </Directory>
   </Directory>
</DirectoryRef>


<CustomAction Id="Assign_ROOT_DRIVE" Property="ROOT_DRIVE" Value="C:\"
/>

<UI>
    <InstallUISequence>
        <Custom Action="Assign_ROOT_DRIVE"
Before="CostInitialize"></Custom>
    </InstallUISequence>
</UI>

<InstallExecuteSequence>
    <Custom Action="Assign_ROOT_DRIVE" Before="CostInitialize"></Custom>
</InstallExecuteSequence>

_________
Bob Rafuse

-----Original Message-----
From: Scott Sam [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 20, 2006 12:56 PM
To: Rafuse Robert; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Putting files in wwwroot folder


That worked if only a c: drive exists.  For most of our installations
there
are 2 drives, c and d.  In those cases it goes to d:\Inetpub\wwwroot.
Is
there anyway to force this to c:\Inetpub\wwwroot when there are multiple
drives?
 
 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rafuse
Robert
Sent: Wednesday, July 19, 2006 1:17 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Putting files in wwwroot folder
 
Try:
 
<DirectoryRef Id="TARGETDIR">
      <Directory Id="Inetpubdir" Name="inetpub">
        <Directory Id="wwwrootdir" Name="wwwroot">
             <all the files that go there>
       <Directory>
      </Directory>
</DirectoryRef>
 
_________
Bob Rafuse
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Sam
Sent: Wednesday, July 19, 2006 1:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Putting files in wwwroot folder
 I'm trying to get some files into the c:\inetpub\wwwroot folder.  We
have a
few virtual directories, but we still need to get certain files into
that
directory.  I have the directories set up in wix like this:
 
<DirectoryRef Id="TARGETDIR">
      <Directory Id="Inetpub">
        <Directory Id="wwwrootdir" Name="wwwroot">
             <all the files that go there>
       <Directory>
      </Directory>
</DirectoryRef>
 
Now, I'm testing this install on a machine that only has a c drive.  So
I
would have thought that the files would go to c:\inetpub\wwwroot (I know
if
there was a d drive it would go to there.), but the install is creating
the
directory c:\wwwroot\ and putting the files in there.  Why is that, and
how
do I get the files to go into the c:\inetpub\wwwroot directory?

---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based
on this e-mail or any information and attachment contained in the
message.
If you have received this e-mail in error, please advise the sender
immediately by reply e-mail or telephone and delete this message and any
attachment from your system.

Thank you.



Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.


Important Note: This email and any attachment hereto are confidential
and
may contain trade secrets or may be otherwise protected from disclosure.
If
you have received it in error you are in notice of this fact. Please
notify
us immediately by reply email and then delete this email and any
attachment
from your system. Please understand that you are not allowed to copy
this
email or any attachment hereto or disclose its contents to any other
person.
Thank you.




---
Important Note:

This e-mail message and any attachments are confidential and may be
privileged or otherwise protected from disclosure. If you are not the
intended recipient you must not use, copy, disclose or take any action
based on this e-mail or any information and attachment contained in the
message. If you have received this e-mail in error, please advise the
sender immediately by reply e-mail or telephone and delete this message
and any attachment from your system.

Thank you.


------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to