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!

DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

AppData/Local Instalation

Hello,

I slight problem with the installation path and the macro necessary. I'm trying to install my app.

In C:/Users/AppData/Local so i changed in Install Parameters -> Aplication Folder to AppDataFolder but this path goes to C:/Users/AppData/Roaming.

Anyway i can change it to path i want? Or is there another macro i should be using?

One Final Point:
I can't seem to run my app if it installed in the Program Files(x86) folder - basically i have shortcut that calls the app and it doesn't work if its in that folder.
My installer is set to run like administrator everything is set to run as admin. So i dont get what i am missing. What do i need to do?


Thank you for Your Help!


Sincerely,
Diego.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AppData/Local Instalation

Hello Diego,
In C:/Users/AppData/Local so i changed in Install Parameters -> Aplication Folder to AppDataFolder but this path goes to C:/Users/AppData/Roaming.

Anyway i can change it to path i want? Or is there another macro i should be using?
Just use in the "Application folder" field a formatted reference of the "LocalAppDataFolder" property.
I can't seem to run my app if it installed in the Program Files(x86) folder - basically i have shortcut that calls the app and it doesn't work if its in that folder.
My installer is set to run like administrator everything is set to run as admin. So i dont get what i am missing. What do i need to do?
I'm not sure why this happens. What kind of error do you get? If your app requires administrator privileges, then you can enable the "Run As Administrator" option of your shortcut added in "Files and Folders" page.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DiegoCP
Posts: 139
Joined: Fri Jan 23, 2015 1:02 pm

Re: AppData/Local Instalation

Hello Daniel,

Thank for Your support!

I'll the solution for the first item.

As for the problem running the app from Program Files (x86). I dont get an error it simply doesn't run.
If use command line and execute it directly it works.
But when i use the shortcut with argument it doesn't start.

Not really sure about what happening everything is at highest execution mode Admin even the shortcut.


Thank Again.

Sincerely,
Diego.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: AppData/Local Instalation

Hello Diego,
As for the problem running the app from Program Files (x86). I dont get an error it simply doesn't run.
If use command line and execute it directly it works.
But when i use the shortcut with argument it doesn't start.
This is very strange. Can you please try to manually create another shortcut for your application and see if this works? If not, then this means the issue is somehow related to your app. If the manually created shortcut works, then 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.

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

Return to “Building Installers”