PDA

View Full Version : SRCDIR problem



Pastisam
10-17-2003, 03:45 AM
Hello,

I have some problems with SRCDIR variable.

The project is a standard IS project.

I want to show license file in a dialog box.
This file is under the directory where are setup.exe and the .msi files.

In installscript, I use SRCDIR variable :
sLicenseFile = SRCDIR ^ "readme.txt";

I compile and launch the setup.exe on my machine. It works fine.
SRCDIR = Q:\installation\api\readme.txt. (OK)



If I compile and launch on an other machine, it works bad.
SRCDIR = C:\Documents and settings\user_name\local settings\Temp\Product_code\readme.txt

If someone can help me....

Best Regards!