Change %Installdir% for Windows mobile CAB file StorageCard
Posted on 2010-08-19
I am using VS 2008 to develop Windows mobile C# and C++ applications. I am using the CAB-project to build my CAB files. Now a have the following problem: My user should have the possibility to choose the Installation directory device or storage card. I want to use the application folder but done want the default value because I want the directory structure \AppFolder\Company\App and not the autogenerated value \AppFolder\App.
I looked for the reason of this behavior an found the section:
in the the autogenerated inf-File.
Does anyone know a possibility to change the value of to InstallDir=%CE1%\Comanny\APP every time when I rebuld the CAB automatically. I only found the solution to build the CAB, change the CEstring manually an rerun the bulid of the CAB manually.
Does anyone know a better solution?