Help with complex deployment scenarios - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

KeithG
Posts: 4
Joined: Fri Feb 03, 2012 11:30 pm

Help with complex deployment scenarios

Greetings,
I'm wondering the best way to handle a setup project that can support some complex deployment scenarios. My product has the following items:
  • Executable and dlls
    .config files
    SQL CE database
    map document and related items
    two different types of geographic database files
    prerequisites like .NET 4 & SQL CE runtime
I have some post-install steps that do things like unzip clean versions of the SQL and geographic databases.

Assume that the initial deployment and install is a full installation. I want to be able to do patches or updates of one or a combination of these items without necessarily overwriting the users files with a clean install. I hope to do these via the web-based updates. Some examples:
  • I want to distribute bug fixes or new features in the executable and dlls without executing the post-install steps that unzip databases
    I want to possibly run SQL to update the database without changing any other items
    I want to possibly replace, add, or update the map document and its related files
    etc.
    Or possibly any combination of these
Any advice on how to proceed would be appreciated. Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Help with complex deployment scenarios

Hello and welcome to Advanced Installer forums,

Here are a couple of articles that describe using patches and to help you with an overall upgrade understanding:
http://www.advancedinstaller.com/user-g ... tches.html
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Please keep in mind that patching is a very delicate upgrade process in comparison with major upgrades. It requires careful settings not to mention keeping the patching rules described in the article above.
In case you are only changing a few files, then the recommended way would be a patch project. Here is the tutorial to help you get started with authoring patches:
http://www.advancedinstaller.com/user-g ... patch.html

Also, here's another article you may find helpful.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”