Inside my script file ill create a directorie from my var $DBLOCATION$ when it's creating c:\\database everything works perfectly, but when i would create c:\\database\\testdb the directories are not created.
is there any possibility to create a directory including an subdirectory from a variabele.
Create dir function fails
-
Alex_Ronquillo
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
With the "Create Folder" MSI command you can create any folder using variables. For example:
Set Variable var1 to dir1
Set Varaible var2 to dir2
Create Folder c:\\$var1$
Create Folder c:\\Program Files\\dir3\\$var2$
This code will create the following folders:
c:\\dir1
c:\\Program Files\\dir3 (if doesn't exist)
c:\\Program Files\\dir3\\dir2
Set Variable var1 to dir1
Set Varaible var2 to dir2
Create Folder c:\\$var1$
Create Folder c:\\Program Files\\dir3\\$var2$
This code will create the following folders:
c:\\dir1
c:\\Program Files\\dir3 (if doesn't exist)
c:\\Program Files\\dir3\\dir2
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

