NATIVE_OVERWRITE

Got a problem you cannot solve? Try here.
jdeleon7010
Posts: 27
Joined: Thu Jul 26, 2012 2:23 pm

NATIVE_OVERWRITE

Postby jdeleon7010 » Wed Sep 12, 2012 9:39 am

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?

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

Re: NATIVE_OVERWRITE

Postby FrancescoT » Wed Sep 12, 2012 11:00 am

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
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

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

Re: NATIVE_OVERWRITE

Postby FrancescoT » Tue Sep 18, 2012 10:14 am

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
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

jdeleon7010
Posts: 27
Joined: Thu Jul 26, 2012 2:23 pm

Re: NATIVE_OVERWRITE

Postby jdeleon7010 » Wed Sep 19, 2012 10:45 am

That worked PERFECTLY!

thank you!

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

Re: NATIVE_OVERWRITE

Postby FrancescoT » Wed Sep 19, 2012 11:30 am

:D :D :D
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 136 guests