Can't self heal to AppData Folder - Advanced Installer Community
clay10
Posts: 2
Joined: Mon Aug 17, 2015 9:30 pm

Can't self heal to AppData Folder

I'm try to get a fileset to self heal to each user's AppData Folder (%AppData%) on first run, with not luck. There are files that need to be copied there for the main executable to run.

General conditions
  • Main executable lives in the main application directory (Program Files/<Company>/<Product Name>)
    Main executable has a advertised shortcut
    Supplementary files live in AppData folder
    We use the bootstrapper to install some prerequisites
    32-bit installs, for both machine types
Note that the files ARE copied to the AppData folder for the user who runs the installer. Works great.

Switch to another user, shortcut starts the app, which crashes because it is missing the fileset expected in the AppData folder.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't self heal to AppData Folder

Hello and welcome to our forums,

Can you please go to "Builds page -> Configuration tab", check the "Do not delete the extracted MSI and CAB files" option, rebuild your project and test again the scenario? If the behavior still persist, would it be possible for you to send us a download link for the built setup package to support at advancedinstaller dot com so we can test and investigate on our side?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clay10
Posts: 2
Joined: Mon Aug 17, 2015 9:30 pm

Re: Can't self heal to AppData Folder

This had no effect. I've emailed you.
SPeggs
Posts: 1
Joined: Fri Oct 30, 2015 7:08 pm

Re: Can't self heal to AppData Folder

Hello,

I am trying to create a folder in Document/My Documents for all users on a machine. Self-Healing does not seem to be working for folders, although it does work for registries. I have checked the "Do not delete the extracted MSI and CAB files" option. The folder is in the same feature as the shortcut. I have attempted to create the folder with the three methods described here : http://www.advancedinstaller.com/forums ... hp?t=23231 and here : http://www.advancedinstaller.com/user-g ... urces.html. It sounds like clay10 was having the same issue, what was the solution, if any, to his problem?

Thanks.

[EDIT] Found out self healing does not work for anything outside of AppData, going to try a different route.
honestman
Posts: 1
Joined: Sun Nov 01, 2015 7:08 pm

how to fix the main class in INI file of java packed app

i modified an java application program and i want to run it and it is saying main class was not specified in INI file, please can someone tell me or show me how to solve it
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't self heal to AppData Folder

Hello,

@SPeggs: As another approach you can try to use the "Window Active Setup" feature.

@honestman: Please send us the .aip (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them? If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”