Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: mroach on January 28, 2005, 08:00:19 AM

Title: Finding Source Directory value
Post by: mroach on January 28, 2005, 08:00:19 AM
I'm trying to find a way to get the directory letter of the source of the installation to use in the INNO Script.  Any suggestions.  Here is a sample of what I have below but it only adds {src} where I want the drive letter to appear in the .ini file of my program.  Any suggestions how to get this to work.
 
if ServerSharedFolderValues[3] = '0' then
    begin
    if (FileExists(WizardDirValue   'Literature')) then
       SetIniString('COMPONENTS', 'Literature', ('{src}')   ''   'Literature', WizardDirValue   'PTFan.INI');
Title: Finding Source Directory value
Post by: admin on January 28, 2005, 11:58:09 AM
mroach,
 
This question is better answered by the people at http://www.jrsoftware.org (http://www.jrsoftware.org) (Inno Setup). We only produce the InnoScript product.