Problem....  I'm trying to install a .reg file from my InstallScript but am
getting errors about not being to open the file etc. etc.  At first I
thought it didn't like filenames with spaces in them, so I converted it to
the fat16 name, still doesn't work, any ideas??  This is the code I'm using:

  svPath = SRCDIR ^ "metric.reg";
  LongPathToShortPath ( svPath );
  LaunchApp(WINDIR ^ "Regedit.exe", "/s " ^ svPath);

I know I can use InstallShield itself to install registry keys, which I do
as well, but these ones we include as a .reg file for the user to run at any
stage as well.

Mark
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to