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

regsvr32.exe


2 replies to this topic

young

young
  • Members
  • 4 posts

Posted 17 June 2004 - 05:52

I want to register dll files.

I use below code.
LaunchApp (WINSYSDIR ^ "regsvr32.exe " , filepath);

filepath is similar "c:/program file/application/bin/*.dll"
but regsvr32 recognize truncated path(c:/program).
regsvr32 c:/program
so not find dll files.

I want to represent
regsvr32 "c:/program file/application/bin/*.dll"

how do I use " (double quotation mark)?




Perotin

Perotin
  • Full Members
  • 407 posts

Posted 17 June 2004 - 08:03

either use filepath = "\"c:\\program files\\application\\bin\\*.dll\"" or (even better smile.gif) use short folder names or PROGRAMFILES (InstallShield's predefined variable) ...
Gruß / regards
Thomas

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 June 2004 - 12:15

The LongPathToQuote function exists for this purpose.