The install program will not install any files
Posted: Fri Oct 17, 2008 9:18 am
Hi,
I am having a problem with InstallAware 8. The installer I am building is a very basic one - I want it to simply copy a directory of files (and sub-fodlers) to a user specified location. However, the installer will not install the files if I attempt to run it again. (I want it to do this so that an upgrade can be performed). Originnally, it always deleted the previous install, which I was able to stop by commenting out the MSI un-install command.
I have the following in the script:
Get Component E2 Shop Software Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Install Files C:\\Stage\\Server Install\\*.* to $TARGETDIR$, ignore files matching wildcard pattern(s) *.Config, include subfolders
end
Comment: Comment: TO-DO: Insert any additional install commands here
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Apply Install (get result into variable SUCCESS)
I thought that the Install command, which is an MSI command, would run after the Apply Install command is issued. However, if it is, it is not performing as expected. BTW - the result is COMPLETE for the Apply Install.
Any thoughts?
Thanks,
Robert
I am having a problem with InstallAware 8. The installer I am building is a very basic one - I want it to simply copy a directory of files (and sub-fodlers) to a user specified location. However, the installer will not install the files if I attempt to run it again. (I want it to do this so that an upgrade can be performed). Originnally, it always deleted the previous install, which I was able to stop by commenting out the MSI un-install command.
I have the following in the script:
Get Component E2 Shop Software Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Install Files C:\\Stage\\Server Install\\*.* to $TARGETDIR$, ignore files matching wildcard pattern(s) *.Config, include subfolders
end
Comment: Comment: TO-DO: Insert any additional install commands here
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Apply Install (get result into variable SUCCESS)
I thought that the Install command, which is an MSI command, would run after the Apply Install command is issued. However, if it is, it is not performing as expected. BTW - the result is COMPLETE for the Apply Install.
Any thoughts?
Thanks,
Robert