/build/static/layout/Breadcrumb_cap_w.png

Unable to write data in %APPDATA% folder

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: zipsantro 15 years ago
Purple Belt
0
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
Posted by: anonymous_9363 15 years ago
Red Belt
0
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?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ