PDA

View Full Version : Install File Question



NewsArchive
07-02-2011, 12:38 AM
Can I use a variable for the 'My Computer' drive in the Install File
function? Instead of C:\Relase_Programs\proga.exe, can I set a variable
to C: and use it in the function ([My_Computer_Drive_LETTER]
\Release_Programs\proga.exe)?


--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
07-02-2011, 12:38 AM
Hi Darrel,

> Can I use a variable for the 'My Computer' drive in the Install File
> function? Instead of C:\Relase_Programs\proga.exe, can I set a variable
> to C: and use it in the function ([My_Computer_Drive_LETTER]
> \Release_Programs\proga.exe)?

Yes, you can use compiler variables in the 'Source File/Folder'. This is
the recommended way to make projects "portable".

BTW, you can also use the pre-defined [SB_PROJECT] compiler variable which
points to the location in which your .sb7 project file is located in. Not
sure if you can make use of it in your case -- it depends on the location of
your project files.

Friedrich