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.
Photo

Abort Func of AddFolderIcon


3 replies to this topic

newar

newar
  • Members
  • 1 posts

Posted 06 August 2001 - 09:19

I have such codes:
 CreateProgramFolder ( @FOLDER_NAME );
 AddFolderIcon ( @FOLDER_NAME , "My App" , TARGETDIR ^ "My App.exe",  TARGETDIR , "" , 0 , "" , REPLACE );
But because of the targetdir including space,it cannot
excute my app.exe.
I know the string must be quoted,but I don't know how to.
who can help me?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 August 2001 - 14:05

Use LongPathToQuote function

Perotin

Perotin
  • Full Members
  • 407 posts

Posted 06 August 2001 - 17:22

LongPathToShortPath (svPath);
works too...