Hi All,
I have deployed Vendor MSI along with the created MST. When I launch the shortcut as Admin user (login admin) application works fine. But with Standard user, it through an error(only for the first launch).
Error: Cannot write archive data to the specified location. Please select an alternate path for your local archive from the Personal tab of the preferences menu.
The application tries to write few files in %APPDATA%. But with standard user it is not able do so.
I cant change the location as it is Vendor MSI.
Can anyone suggestme to resolve this issue.
Many thanks in advance.
Thanks,
Sushma
Unable to write data in %APPDATA% folder
Answers
Rating comments in this legacy AppDeploy message board thread won't reorder them,so that the conversation will remain readable.
In the verbose log which you of course have already created in trying to diagnose the problem, to which folder did the WI engine resolve AppDataFolder?
I cant change the location as it is Vendor MSI. Of course you can! Use a transform. However, you don't want to change the location in this case, as AppDataFolder should resolve to the logged-in user's 'Application Data' folder.
You would be best off adding the relevant folder (at least) and the files (if they're generic and not user-specific) via a transform. That will ensure that you circumvent what I'm sure is the vendor packager's error, i.e. he has assumed that the required folder exists and is blindly trying to copy the files there. If that weren't the case, wouldn't the error be to the effect that the app couldn't create the folder?
I such scenario, launch your application in admin mode and merge those updated files into your MST if it doesn't contain any user specific data.
Jeeoo!
Santro


Please log in to comment