3

I've created this xxx.inf file and placed a Sample.exe alongside the same directory.

[Version] 
Signature=$CHICAGO$ 

[DestinationDirs] 
SampleCopy = c:\\Sample

[DefaultInstall] 
CopyFiles = SampleCopy 

[SampleCopy] 
sample.exe 

I tried to install the inf file, the desktop refreshes but I don't see the creation of c:\sample folder nor the files that should be copied there

Is there anything wrong?

daisy
  • 22,498
  • 29
  • 129
  • 265

1 Answers1

3

Destination directories need to be given in format "dirid,subdir", where dirid is a number.

In your case you could use one of the two lines below.

SampleCopy = 24,\Sample
SampleCopy = -1,C:\Sample
Werner Henze
  • 16,404
  • 12
  • 44
  • 69