Target directory validation

Got a problem you cannot solve? Try here.
Post Reply
namo
Posts: 26
Joined: Thu Feb 07, 2008 6:05 am

Target directory validation

Post by namo »

Hi,
Please help me for the validation of the target directory for local folder path( check for directory( c:,d:,e:..) is valid or not, check for non acceptable special charracters, check whether folder exists or not ) and unc path as well.

Pleae guide me, its very urgent :!:
Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Post by Alex_Ronquillo »

namo,

Use the "Does File/Folder exist" command for this.
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
namo
Posts: 26
Joined: Thu Feb 07, 2008 6:05 am

Post by namo »

Hi,
thanx for reply :)

I used "folder exists" for target directory validation.

For local path if folder is non existing then i am parsing that targetdir , i take first 3 character to check whether drive is there on my local machine....
then if it there , i check for folder naming convensions means some special characters not allowed........
if everything ok then i asked user to create a folder, if he say yes, will go for next screen

And UNC path works for the existing folder if specified as a target dir.
"But it does not works for the non existing folder if specified"


And Now my problem is UNC path is not working and
Can we have some simple solution or some script or add-ins for this.


Please guide me for some more flexible and rigid solution
namo
Posts: 26
Joined: Thu Feb 07, 2008 6:05 am

Post by namo »

Halo........

is there anybody who help me for this???????????????????????
Post Reply