PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

ezsetup and patched files

I've created a German language pack for our Warlords II application which installs a number of files modified for German and updates a registry setting.

Everything works perfectly when installing to main memory - the 'patched' files are copied into the original installation location, and a new uninstall registration is made for the language pack.

But, when installing to a storage card the 'patched' files are copied into their own directory structure rather than the storage card location for the original game. This forces the user to manually copy the new files into the game.

Now, I can get the 'patched' files to install to the correct installation location on the storage card by modifying the .inf file, but this ends up changing the uninstall database so that uninstalling Warlords II only removes the files installed by the language pack.

Is there a way to specifically tell ezsetup not to alter the uninstall information? Or is there some typical way of setting up the .inf/.ini files for a patch update rather than a full install?

So, what I'm striving for is an installation that will install the 'patched' files to the original installation location (be it in main memory or on a storage card) and not alter the uninstall information from the original install.
The only thing I can suggest is to put all of that in your setup.dll. That way, you don't have to rely on the install/uninstall program to handle it at all. All you have to do is manually look up the install directory, move or delete the files depending on install/uninstall, and let the installer/uninstaller finish installing/uninstalling everything else. You do have your own setup.dll, right?
Actually, no. I suppose that's something I need to look into though...