Don't know if this helps, but ...

One problem I have noticed is that reg files created in Windows 2000 cannot
be imported into Windows 9X machines because Windows 2000 uses Unicode, so
each charachter is followed by a space when viewed in Windows 9X.

Stacey

> -----Original Message-----
> From: Mark Derricutt [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 29 August 2000 10:58 a.m.
> To: Multiple recipients of list offtopic
> Subject: [DUG-OFFTOPIC]: InstallShield and RegEdit...
> 
> 
> Hiya, I'm trying to import a .reg file as part of my InstallSheild
> (5.1) project, however on some machines (mostly 95 boxen) I'm 
> getting the
> following error:
> 
> "Cannot import C:\WINDOWS\TEMP\pft1~TMP\metric.reg.  Error opening the
> file.  There may be a disk or file system error."
> 
> I'm using the following code in my InstallShield project:
> 
>   svPath = SRCDIR ^ "metric.reg";
>   LongPathToShortPath ( svPath );
>   svExec = "/s " + svPath;
>   LaunchApp(WINDIR ^ "Regedit.exe", svExec);
> 
> Is there a better way to import a .reg file, originally I was 
> thinking the
> problem was in the long filenames, so I'm using LongPathToShortPath
> with no joy.
> 
> Mark
> 
> 
> 
> -- 
> "We don't guarantee anything except that it will take up disk 
> space..."
>   Apache 2.0alpha5 Disclaimer
> 
> Now Playing: Imagika - Chaos To Murder
> 
> 
> --------------------------------------------------------------
> -------------
>   New Zealand Delphi Users group - Offtopic List - 
> [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> 
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to