galevsky
29th January 2008, 22:07
Hi all,
I spend lot of time to understand what was wrong with one of my script...
CABSetup::BuildSetupFiles /NOUNLOAD "/add=${SOURCE_FILES}" /S |
The script will try to create the cab but fail with return code 1. My ${SOURCE_FILES} was "C:\Documents and Settings\Admin\My Doc\Here_v1\sources\"
But no problem if I use the source files from "C:\Program Files\Test_v1\sources" instead.
Any idea ? I am admin, so I don't think it is a rights issue, both Program Files\ and Documents and Settings\ are on the same partition.... I cannot see.
Thks,
Gal'
I spend lot of time to understand what was wrong with one of my script...
CABSetup::BuildSetupFiles /NOUNLOAD "/add=${SOURCE_FILES}" /S |
The script will try to create the cab but fail with return code 1. My ${SOURCE_FILES} was "C:\Documents and Settings\Admin\My Doc\Here_v1\sources\"
But no problem if I use the source files from "C:\Program Files\Test_v1\sources" instead.
Any idea ? I am admin, so I don't think it is a rights issue, both Program Files\ and Documents and Settings\ are on the same partition.... I cannot see.
Thks,
Gal'