Hello Support,
we are using native_engine and NATIVE_OVERWRITE is set to ALWAYS and NATIVE_OVERWRITE_OLDER is set to TRUE.
Why do we get this PROMPT-Dialog while installing:
NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
Dear heiko,
does it happen when the installer tries to overwrite a file that is newer with an older copy?
Regards
does it happen when the installer tries to overwrite a file that is newer with an older copy?
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
The installer has newer files inside than the installed ones.
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
I'll check this out and I'll let you know.
Regards
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
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
Dear Heiko,
I don't see any problem with setting NATIVE_OVERWRITE = ALWAYS and NATIVE_OVERWRITE_OLDER = TRUE.
I used a simple project to test the "Runtime" behavior of these variables and the native setup engine doesn't display any "overwrite dialog" when replacing an older/newer file.
If you want to check by yourself, you can used the attached test project.
To test the "NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER" behaviors;
First test!
- Build the project and then run the "test.exe" on a target machine.
- Once installed, update the "document.txt" under; "C:\Program Files (x86)\test"
- Re-run the "test.exe" and select to repair the installation.
Result > the "document.txt" gets replaced without displaying any "overwrite dialog".
Second test!
- Keep the "Test" package installed on your target machine.
- update the "document.txt" under; "C:\Program Files (x86)\test"
- Re-Build the project and then and run the new generated "test.exe" on the target machine.
Result > the "document.txt" gets replaced without displaying any "overwrite dialog".
PS!
It's not necessary to change the location of the project source files ...I used relative paths.
Hope this helps you.
Regards
I don't see any problem with setting NATIVE_OVERWRITE = ALWAYS and NATIVE_OVERWRITE_OLDER = TRUE.
I used a simple project to test the "Runtime" behavior of these variables and the native setup engine doesn't display any "overwrite dialog" when replacing an older/newer file.
If you want to check by yourself, you can used the attached test project.
To test the "NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER" behaviors;
First test!
- Build the project and then run the "test.exe" on a target machine.
- Once installed, update the "document.txt" under; "C:\Program Files (x86)\test"
- Re-run the "test.exe" and select to repair the installation.
Result > the "document.txt" gets replaced without displaying any "overwrite dialog".
Second test!
- Keep the "Test" package installed on your target machine.
- update the "document.txt" under; "C:\Program Files (x86)\test"
- Re-Build the project and then and run the new generated "test.exe" on the target machine.
Result > the "document.txt" gets replaced without displaying any "overwrite dialog".
PS!
It's not necessary to change the location of the project source files ...I used relative paths.
Hope this helps you.
Regards
- Attachments
-
- Native Test.zip
- (2.9 MiB) Downloaded 615 times
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
Franseco our customers are very angry. How can I avoid the overvwrite box ?
That is my only question
That is my only question

Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
Dear Heiko,
I am very sorry for your customers, but I don't see any problem with the NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER variables.
For me these work as expected.
Did you have a look at the sample I posted previously? ...it seems you didn't.
Regards
I am very sorry for your customers, but I don't see any problem with the NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER variables.
For me these work as expected.
Did you have a look at the sample I posted previously? ...it seems you didn't.
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
I know what is different
The existing file is not a file on target system. With native_engine there is a problem with
command "Install files" when you have the same file in different source folders but you need to install them in the same destination folder.
e.g
install files from ..\..\files\*.* to dest folder => source dir contains readme.txt
install files from ..\..\files2\*.* to dest folder => source dir also contains readme.txt
then the messagebox appears

command "Install files" when you have the same file in different source folders but you need to install them in the same destination folder.
e.g
install files from ..\..\files\*.* to dest folder => source dir contains readme.txt
install files from ..\..\files2\*.* to dest folder => source dir also contains readme.txt
then the messagebox appears
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
...but if it's just this the problem, you may use a different name for one of these "readme.txt" files or you may skip to include one of them.
Regards
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
it is not possible to rename or exclude because we have hundreds of dll files in 2 source directories and if we install both applications we have that copy problem. We would like to buy X7 but if the bug stilll exists...we can not
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
It'll be very hard to fix something, which works as expected and it's not a bug either.
Regards
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
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
-
- Posts: 252
- Joined: Sat Dec 03, 2011 3:07 am
- Location: Konstanz, Germany
- Contact:
Re: NATIVE_OVERWRITE / NATIVE_OVERWRITE_OLDER
It does only happen with native engine. Without it works fine.
Kind regards
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Heiko Kummerfeld
MIK GmbH
Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
Who is online
Users browsing this forum: No registered users and 168 guests