Finding Source Directory value

Started by mroach, January 28, 2005, 08:00:19 AM

Previous topic - Next topic

admin

mroach,
 
This question is better answered by the people at http://www.jrsoftware.org (Inno Setup). We only produce the InnoScript product.

mroach

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');