Path Variable for folders
Updated: 10 Oct 2010 | 4 comments
This issue has been solved. See solution.
Hi
I am creating folders using path variables. My working directory is [INSTALLDIR]Project\New
While updating the system i want to create four folders for that i have used path variable, i have defined the path variable as follows:
Variable Name Defined Value
DAL D:\RAS
File1 D:\
File2 D:\
File3 D:\
File4 C:\
In files page on the destination computer i have created all the folder.
The destination folder path is D:\RAS\Project\New
while updating the system all the folders are created under D:\ drive but i want file4 to be created in C:\drive
any suggestions?
Thanks
Discussion Filed Under:
Comments
You cannot use Path Variables
You cannot use Path Variables for this. Read the documentation.
HII have gone through the
HI
I have gone through the document. Not using path variables. still not getting.
i have created four folders in Installation Expert--> Files page on the destination computer, Again same problem all the folders will create in D drive but i want to create file4 in C drive.
Please any help?
Create a default entry for
Create a default entry for File4 on the D drive.
Identify the directory table entry that references this folder
Use a SET DIRECTORY custom action to change this directory table entry to the desired location.
Any CreateFolder operation for File4 should now create this folder in the correct location on C:\.
Ensure that the Set Directory custom action is sequenced before the CreateFolder action.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hi EdT Thanks for your help.
Hi EdT
Thanks for your help. In directory value i was specifying only drive name then i tried with C:\File4 . Its working fine.
Thnaks very much.
Would you like to reply?
Login or Register to post your comment.