Modify without deleteing old settings,

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Modify without deleteing old settings,

Postby QooScho » Fri Aug 22, 2014 5:25 am

Hello,
Complete installation will install an Apache Webserver with PHP files and a web application. Also a MySQL DB and the main windows programm will be installed.
If someone choose not installing the Web application, the Apache Webserver and PHP files will not be installed.
Problem is.
If the "small" version is installed (Without Apache and PHP) and someone will run the setup again to install the Webapplication later, it seems
that the complete program with all settings are deleted and installed new. It seems that also the MySQL database is deleted.
Is this normal behavior?
Does a modify installation first do a complete deinstallation of the program and install again?
If yes, how can you prevent of deinstallation the old settings and database?
regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Modify without deleteing old settings,

Postby FrancescoT » Fri Aug 22, 2014 10:06 am

Dear Hans,

if a feature is re-installed when the package runs in maintenance mode, all the files part of that feature, are overwritten by those included with the installer.
However, The Windows Installer engine behavior is to overwrite files on the target system only if the ones you are copying are newer.

That said, the files on your target machine should be not replaced, because they should be newer of those include with your installer.

Do you maybe used NATIVE ENGINE instead and changed its behavior through the NATIVE_OVERWRITE_OLDER pre-defined variable?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Modify without deleteing old settings,

Postby QooScho » Mon Aug 25, 2014 2:24 am

Dear Francesco,
thank you for help.

<<<Do you maybe used NATIVE ENGINE instead and changed its behavior through the NATIVE_OVERWRITE_OLDER pre-defined variable?
No I have not changed these settings.

Maybe the installer was newer then the installed version. I do not know exakt because I only heard about this problem from a collegue.
But was also happened:
The Install options dialog has Entries:
--Server with Database
--Webapplication
--Others

Installed was "Server with Database". Then the collegue tried to add (modify) the Webapplication.
After that, the Server and Database was removed and only the Webapplication was installed.
Why is the Server with Database removed or uninstalled?

best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Modify without deleteing old settings,

Postby FrancescoT » Mon Aug 25, 2014 7:46 am

Dear Hans,

for what you are reporting I can only suppose that "probably", there are some errors with the approch you used to manage your features installation.
...without having your code it's not easy for me to find out the cause of your issue

BTW, I may suggest you to have alook at the "Features" sample available with the following link.
... maybe you will be able to verify if there is something wrong with the way you used.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 128 guests