Hi,
I have been using Wise install version 8.1 to many years to correct my install package. But obviously this is so old I need to upgrade, and thus selected your product (bought last week) to create modern install packages compatible Windows 8.
But I seem to have an issue, which I find very difficult to overcome. The programme am trying to supply, using your install program, is a simple add-on to a accounts package which are sold in the UK. I simply want to be able to install a handful of files into the accounts package folder. Which I have managed to do successfully.
Users who require an upgrade simply ran install package over the existing installation. Which replaced any files which were newer than the installed files at the customer site. So my requirement is to build and install program which simply installs files and upgrade any existing which a newer than the install package.
But I have not managed that using install aware, since on a second run the install tries to uninstall.
I have tried importing the old project from Wise install. And starting a new project using your application wizard and customising the script to suppress the uninstall mode. Using the following code:
[DEFINE REGION: Install Application Pre-Requisites]
Comment: Install setup pre-requisites
Comment: #### Stop uninstall ####
Set Variable MAINTENANCE to FALSE
Set Variable NEEDSUPGRADE to FALSE
Set Variable REMOVEOLD to FALSE
if Variable PREREQ not Equals FALSE
...
When the install is run for a second time it will not upgrading existing files, which are older than the ones containing the install package.
So I guess my question is, why do I get this error, and why the second time the install is run as a not update any existing files.?
Code it install files
~InstallAware Clipboard Data~
~Install Files~
~{EC5C1789-1C20-45F6-B066-F5FE4F335A35}~
~D:\Projects\Install\aw_PostTrans\PostTransImage\PostTransLookup.xla~
~FALSE|~
~$TARGETDIR$~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~Install Files~
~{5F509A79-3B85-42B1-AB25-5C6DADBD7A17}~
~D:\Projects\Install\aw_PostTrans\PostTransImage\PostTran.xla~
~FALSE|~
~$TARGETDIR$~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~Install Files~
~{3BF7FCEC-FCAF-477E-9B31-5B491E8687AE}~
~D:\Projects\Install\aw_PostTrans\PostTransImage\PostTran.dll~
~FALSE|~
~$TARGETDIR$~
~FALSE~
~FALSE~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
~FALSE~
Its driving me crazy. If you have an example of such a simple project I can customise that would be great.
Simple file overwrite install fails on second run
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Simple file overwrite install fails on second run
Dear Samsmith,
First of all let me verify if I haven't missed your target.
do you want to create a package that simply install/copy some files but without installing an effective application on target system?
I am asking this ... because you said to have suppressed the un-install mode in your script.
Probably, the problem you are having is caused by your code modification on the un-install side.
The windows installer engine is not able to remove the already installed application and consequently, the update can't be completed.
Let me know.
Regards
First of all let me verify if I haven't missed your target.
do you want to create a package that simply install/copy some files but without installing an effective application on target system?
I am asking this ... because you said to have suppressed the un-install mode in your script.
Probably, the problem you are having is caused by your code modification on the un-install side.
The windows installer engine is not able to remove the already installed application and consequently, the update can't be completed.
Let me know.
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
Re: Simple file overwrite install fails on second run
Thanks for the reply...
I think I have found the answer... Yes I just wanted to copy over some files, then I use another install to install client files on each computer....
I found by switching to the NATIVE install and turning off NEEDSUPGRADE and MAINTENANCE it gives me what I want. We don't need to do any uninstalls, stange as it may seem
Comment: PostTrans Server Install Setup Project
Set Variable NATIVE_ENGINE to TRUE
Set Variable NATIVE_OVERWRITE to ALWAYS
Set Variable NEEDSUPGRADE to FALSE
Set Variable MAINTENANCE to FALSE
I think I have found the answer... Yes I just wanted to copy over some files, then I use another install to install client files on each computer....
I found by switching to the NATIVE install and turning off NEEDSUPGRADE and MAINTENANCE it gives me what I want. We don't need to do any uninstalls, stange as it may seem

Comment: PostTrans Server Install Setup Project
Set Variable NATIVE_ENGINE to TRUE
Set Variable NATIVE_OVERWRITE to ALWAYS
Set Variable NEEDSUPGRADE to FALSE
Set Variable MAINTENANCE to FALSE
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Simple file overwrite install fails on second run
Happy you solved
!

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
Who is online
Users browsing this forum: No registered users and 81 guests