Hello,
I use AI 7.1.3 enterprise to create a exe with msi inside
The extract location has always been:
[AppDataFolder][|Manufacturer]\[|ProductName]\install
But as this is the users folder I thought this does not make sense.
So I changed it to
[CommonFilesFolder][|Manufacturer]\[|ProductName]\install
But when I now upgrade an old installation (with extract location [AppDataFolder][|Manufacturer]\[|ProductName]\install) with a new installation (extract location [CommonFilesFolder][|Manufacturer]\[|ProductName]\install) the installation fails with:
Erorr while reading from the location C:\Users\Chris\AppData\Local\Jumping Bytes\PureSync\install\PureSyncInst.msi
(or Data1.cab)
Sure, the files are no longer there as uninstallation did remove them. But why does new installation look at the old location?
How to solve that?
After that error, when I run teh new installation again, it does work. However it uses the old location for the extracted file(s). Why?
Seems the extract location is keep even when uninstalling and specifying a new location in the new installation.
[Update]:
When I specify
[AppDataFolder][|Manufacturer]\[|ProductName]\install
as extract location the installation won't run at all when the user has no admin privileges (no write access to that folder):
"An error occured while reading the file"
The error description is really wrong! the user would assume the installation file is corrupt. Can this be changed, or is this a wron error box of the msi that cannot be changed.
However, so I learned using the [AppDataFolder] is not a good idea.
But when using [AppDataFolder][|Manufacturer]\[|ProductName]\install this only works for the current user.
In case another user tries to update, it won't see this folder.
thank you,
Christoph
tested onm Windows 7.