NewsArchive
03-31-2010, 02:14 AM
Hi all,
My installation detects if the application has previously been installed and
if so it needs to move several files and folders to new locations. In some
cases I am moving files using wildcards and in other cases I am moving an
entire directory tree.
There are a couple of questions I need to ask in order to wrap my head
around what is going on.
When I create the installation log file I am a bit confused exactly what I
should expect to happen if I check the property "Overwrite Existing
Uninstall Application". Is the existing log file going to be overwritten or
updated? ( see screenshot)
If either the "Move Local File(s)" or the "Move Folder Tree" function fails
in any way is the installation automatically terminated and a rollback
initiated?
If midway through an installation I decide that, for whatever reason, I need
to terminate the installation. the only way out I have been able to find is
through the "Exit Installation" function. Does terminating the install using
this function invoke a rollback of everything previously logged in the
uninstall log file? The docs say:
<snip>
All standard runtime library procedures for application closedown are
performed (all open windows and files are closed and flushed and all
allocated memory is returned to the operating system) without executing any
further installer code in the application.
</snip>
Nothing is mentioned regarding a roll back.
Thanks.
--
Regards,
Lee
http://www.cya2day.com
My installation detects if the application has previously been installed and
if so it needs to move several files and folders to new locations. In some
cases I am moving files using wildcards and in other cases I am moving an
entire directory tree.
There are a couple of questions I need to ask in order to wrap my head
around what is going on.
When I create the installation log file I am a bit confused exactly what I
should expect to happen if I check the property "Overwrite Existing
Uninstall Application". Is the existing log file going to be overwritten or
updated? ( see screenshot)
If either the "Move Local File(s)" or the "Move Folder Tree" function fails
in any way is the installation automatically terminated and a rollback
initiated?
If midway through an installation I decide that, for whatever reason, I need
to terminate the installation. the only way out I have been able to find is
through the "Exit Installation" function. Does terminating the install using
this function invoke a rollback of everything previously logged in the
uninstall log file? The docs say:
<snip>
All standard runtime library procedures for application closedown are
performed (all open windows and files are closed and flushed and all
allocated memory is returned to the operating system) without executing any
further installer code in the application.
</snip>
Nothing is mentioned regarding a roll back.
Thanks.
--
Regards,
Lee
http://www.cya2day.com