Smart Device CAB Project: how to change InstallDir value?


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.
 
Ad

Advertisements

T

tomj

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.
 
Ad

Advertisements

E

element92

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_2006_2_0_0_695915/Smart-Device-CAB-Project-how-to-change-InstallDir-value.ht

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top