Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

InstallShiled : Custom Action not able to read values from INI File

1 reply to this topic


  • Full Members
  • 2 posts

Posted 10 September 2013 - 06:45

I am trying to read values from ".ini" file using install script Custom Action which will be installed at the target location. Below Install-script Code line doesn't read any values even the file is there at target location during installation.

Install Script Code :

GetProfString(TARGETDIR + "SampleSetup.ini","Main","AppTitle",szItemName);

Custom Action : Below is the major custom Action detail which was scheduled to be run "After InstallFinalize".

Function Name : AddDesktopShortCut (Custom Install Script Function)

Target : Synchonous(Check Exit Code)

In-Script Execution : Immediate Execution

Execution Scheduling : Always execute

Install UI Sequence :

Install Exec Sequence : After IntallFinalize

Install Exec Condition : Not Installed

Remaining Settings are the default ones.

Any help will be highly appreciated. Thanks for your Time.

Attached Images

  • AddDesktopShortCut.PNG

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 11 September 2013 - 16:08