We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Files & Folders

Hey

in the files & folders, its not clear which folder represents some of the windows folders. for example:

Image

Thanks
Attachments
folders.jpg
folders.jpg (49.77 KiB) Viewed 3742 times
NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Re: Files & Folders

I found a page in the help file that sort of explained it albeit, it still references a folder structure for Windows XP...

I moved all of my install folders from Program Files to CommonAppDataFolder as that seems to be for ProgramData but after building, its not that path. The install path should be C:\ProgramData\Autodesk\ApplicationPlugins\Company but instead, its D:\AppData...

i checked the organization and they are set to CommonAppDataFolder and in the Install parameters, its set to the Company path for an install path

What am i doing wrong here?


Thanks
folders2.jpg
folders2.jpg (49 KiB) Viewed 3739 times
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Files & Folders

Hello Nacho,

Indeed, we do have an article which explains what are the paths of the folders in the "Files and Folders" page:

Paths to the folders in the "Files and Folders" page

All the above folders are predefined for Windows Installer except for the first two folders ("Application Folder" and "Application Shortcut Folder") which are proprietary for Advanced Installer. When the installation package runs, Windows Installer will automatically resolve their paths according to the target machine's configuration.

The "Application Folder" can be configured from the "Install Parameters" page and, in a default (per-machine) scenario, it is resolved to:

Code: Select all

[ProgramFilesFolder][Manufacturer]\[ProductName]
In what regards the second thread:

As you could see in the article, both "Application Data" and "Common Application Data" folders are Windows Installer folder and they are resolved automatically according to the target machine's configuration.

The difference between those two folders is the fact that %programdata% is a per-machine location and the %appdata% is a per-user location.

Based on that, I would say that the fact that the "Common Application Folder" is resolved to %appdata% is the fact that the installation process is deployed by a user that does not have administrator rights.

Could you please try to start the installation process with administrator rights and let me know if the behavior is the same?

- for an EXE package --> right click on it --> "Run as Administrator"

- for an MSI package --> open an elevated command prompt --> run the MSI with a command line like this:

Code: Select all

msiexec /i <path_to_your_package>
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”