Page 1 of 1
NATIVE_OVERWRITE
Posted: Wed Sep 12, 2012 9:39 am
by jdeleon7010
Hi,
I set this to ALWAYS and when I do an installfile it still prompts the user. Also, Shift F9 is not building my project
is there something I am missing?
Re: NATIVE_OVERWRITE
Posted: Wed Sep 12, 2012 11:00 am
by FrancescoT
Dear User,
I will verify it ... if you have a sample project that demostrates it, just post it.
SHIFT + F9 works fine with my keybord.
Regards
Re: NATIVE_OVERWRITE
Posted: Tue Sep 18, 2012 10:14 am
by FrancescoT
Dear User,
NATVE_OVERWRITE pre-defined variable works in conjunction with "NATIVE_OVERWRITE_OLDER" pre-defined variable.
NATIVE_OVERWRITE_OLDER: Initially FALSE. Determines whether the native setup engine is allowed to replace files that have been determined to be newer with older files that are included in the installation. Set to TRUE to permit the native setup engine to replace files that are newer with older copies (this is not recommended). This variable overrides the value of the NATIVE_OVERWRITE variable when FALSE, and the file being installed by setup is determined to be older than the file already present on the target system. The native engine compares files as follows: If both files are versioned, the decision is based on the comparison of the file versions (the installed file has to be a newer version than the present file). If none of the files are versioned, the decision is based on the comparison of file dates (the installed file has to be modified more recently than the present file). If the file being installed lacks version information but the present file contains version information, the file being installed is assumed to be older. If the file being installed contains version information but the present file lacks version information, file dates are compared.
if you have a code as the following examples, you will never prompted:
Code: Select all
Set Variable NATIVE_OVERWRITE_OLDER to TRUE
Set Variable NATIVE_OVERWRITE to ALWAYS
Install Files F:\mfctest\MfcAutomation.exe to c:\test
OR:
Set Variable NATIVE_ENGINE to TRUE
Install Files F:\mfctest\MfcAutomation.exe to c:\pippo
Please refer to InstallAware documentation for more detailed information.
Hope this helps you.
Regards
Re: NATIVE_OVERWRITE
Posted: Wed Sep 19, 2012 10:45 am
by jdeleon7010
That worked PERFECTLY!
thank you!
Re: NATIVE_OVERWRITE
Posted: Wed Sep 19, 2012 11:30 am
by FrancescoT