Prevent installer from modifying existing files/registry ent - 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!

Fulgan
Posts: 101
Joined: Mon Feb 27, 2012 10:42 am

Prevent installer from modifying existing files/registry ent

Hello,

That question is so obvious that I must be missing something really basic so I apologize in advance.

Basically, I'm rewriting an installer for an existing product. The thing is a rather complete beast and there are files and registry entries that should only be created if they do not exist any more (mostly, it's configuration files and their location).

Yet, when I check the properties for the registry entries and files, I do not see any option to simply keep the existing.

For registry entries, I can modify an existing value or replace it, but not leave it in place.

For files, there seems to be a way to force the overwrite or use some form of version check but, unfortunately, these are config files and they don't contain anything like a version number.

What am I missing here ?

Thanks
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Prevent installer from modifying existing files/registry

Hi Fulgan and welcome to Advanced Installer forums,

To preserve files or registry entries during an upgrade, a simple solution is to use the Persistent User Data wizard( menu bar -> Resources ).
Another way is to follow our "How do I prevent a file from being uninstalled or repaired?" article.

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

Return to “Common Problems”