I should start by saying that I'm using the latest free version, if it makes a difference (and it seems it might). I created an installer that deploys various executables, DLLs and some files, along with some Registry settings. It is working quite well, especially when doing an initial (new) install. However, I might be misunderstanding how the major (new product code)/minor (patches) change affects the whole process. In the beginning (many AI versions ago), I used the minor change and I noticed that there was a problem (as I changed the specifications, like folder and registry-key names, it would leave the old ones behind), so I switched to "major" and it then worked just fine for me. Until I added those database files, which contain documents and user settings. After the last upgrade (just ran the installer), I noticed that it deleted the existing databases and replaced them with the blank database files from the default installation.
I tried to search here for help and I only found directions to set attributes (e.g., "never overwrite") on the targeted files, but I can never find those. Are they not available in the free version? For example, when I go to the "File and Folders" resource ("files, folders and shortcuts"), and try to get to the properties of the containing folder, it is greyed out. Same for the "Do not overwrite existing file" option in the "Operations" tab of the file's properties.
I realize that it is best for the application to create such files, as opposed to deploying them with the installer, but those are complicated SQL database files and they change often, and it would be too much work to create code to do that every time. I'd appreciate some clarification as to what I'm doing wrong, whether there is a different way of doing what I'm trying to do, or if simply this option is not available in the free version and I have no alternative. Thanks!
Kamen
FOLLOW US
Get the latest news in Application Packaging