Simple file overwrite install fails on second run
Posted: Tue Jan 07, 2014 5:29 am
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.
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.