I have confirmed during the installation process that the File Bags exist at the directory pointed to by the appropriate variable as do actual files themselves.
I have set the Install Files command at various positions within my MSICode and have created MessageBoxes confirming the correct variable values immediately before the actual Install Files Command. The MessageBox is displayed correctly. The destination directory does exist when the command is called. For example
Code: Select all
Set Variable FileBagInstalled to
Find All Files in path $TARGETDIR$\webserver\abyss.conf, write result into variable FileBagInstalled
if Variable FileBagInstalled Equals
if Variable AbyssX2Installed not Equals (Ignore Case) TRUE
if Variable IsWindows64Bit not Equals (Ignore Case) TRUE
MessageBox: $TITLE$, Install FileBag
Install Files FileBagAbyss32bit to $TARGETDIR$\webserver, include subfolders
else
Install Files FileBagAbyss64bit to $TARGETDIR$\webserver, include subfolders
end
end
end
No matter where I put the Install Files command, file installation is not actioned.
Can you please advise where I need to place the Install Files command. Indeed, am I using the proper command?
My searches have revealed this to be a not uncommon error on my part but I am unable to resolve it.
Thank you.