Hi,
If you don't want to upgrade the installation, what you need can be done with "File Copy/Move" file operations:
- you create your MSI package without the xml files
- in the Advanced Installer project, in the "Install Parameters" page, you create the SOURCEDIR property (the value doesn't matter because it will be set at runtime)
- in the "Files and Folders" page you create a property-based folder using SOURCEDIR
- in the APPDIR folder you create a "File Copy/Move" operation (you can use the "New File Operation" button on the toolbar) that looks like this:
Source File
Name: *.xml
Folder: SOURCEDIR\xml
Destination File
Name: (empty)
Folder: APPDIR
Properties
Component: application.exe (you will choose from the combo box a component that is always installed)
Operation: Copy
- this file operation will copy all the XML files in the SourceDir\xml folder (SourceDir is the folder from which the MSI is launched) to the installation folder
- in the "Custom Actions" page you create an "Attached Custom Action" like explained in this thread:
http://www.advancedinstaller.com/forums ... ove+folder
- this custom action is used to remove the files and the installation folder after the uninstall process
Note that if your installation uses a boostrapper (I'm not sure if "game.exe" is the boostrapper of your installation package), then you will use SETUPEXEDIR instead of SOURCEDIR.
Let me know if you encounter any problems or if you need a sample project.
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging