Search code examples
c#installationwindows-cecab

Change Application Folder Path of Windows CE Setup Project


I've created an application for Windows CE and I'm trying to create a setup project. I'm doing a silent update operation and need to install the .CAB files to a specific folder (\Program Files\abc\xx)

By default, it installs to \Program Files\Product Name

How can I make it to install on \Program Files\abc\xx ?

This was possible for windows installers but I guess not possible for Windows CE installers.

Thank you


Solution

  • You have to modify the INF file that CABWiz is using (specifically the InstallDir in the CEStrings section).

    If you're using the Studio project that wraps this INF file, then you can't adjust it (one of the many shortcomings of the device CAB installer projects).