Smart Device CAB Project: how to change InstallDir value?

  • Thread starter Thread starter tomj
  • Start date Start date
T

tomj

VS2005 generates inf files with InstallDir=%CE1%\%AppName%.

I want to have InstallDir=%CE1%\MySoftware\%AppName%.

It seams that I cannot achieve this. Why?


Thanks,

Tom.
 
The idea is to use Smart Device CAB Project.
And the problem is to force Smart Device CAB Project
to generate proper inf file.

I had no problem with manual editing inf file, using
bat file to generate cabs in VS2003. But I want to replace
this with Smart Device CAB Project in VS2005.

Thanks,

Tom.
 
Have you tried the following approach?

1) In the 'File System View', add the special folder for Program Files.

2) Right-click on Program Files and select Add->Folder.

3) Create a folder as you want it to appear on the device. Repeat this step if you want to have a deeper folder structure.

4) Right-click on which ever folder you want to add files to and select Add-Files.

If this makes enough sense then when you come to build your Cab project the correct folder structure will appear in the inf file.

Cheers,
element92

From http://www.developmentnow.com/g/18_...CAB-Project-how-to-change-InstallDir-value.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
Back
Top