Get the LocalAppData folder as targetdir on Vista
Get the LocalAppData folder as targetdir on Vista
Hi,
I am having problems getting my installer to install on Vista for the current user (standard, not administrator) in the LocalAppData folder.
When I use the variable $MYAPPDATA$, it installs my app in the AppData/Roaming folder of Vista for the current user.
Which variable should I use in the targetdir field?
Thanks
I am having problems getting my installer to install on Vista for the current user (standard, not administrator) in the LocalAppData folder.
When I use the variable $MYAPPDATA$, it installs my app in the AppData/Roaming folder of Vista for the current user.
Which variable should I use in the targetdir field?
Thanks
I have the same problem
does anyone know how to do that?
Any idea for getting LocalAppData folder as targetdir?
Anyone has any idea for this?
I would really like much more my app being installed on "local" than on "roaming"
I really need help, I searched Google, the Forum, everywhere... can't find it!
Thanks
I would really like much more my app being installed on "local" than on "roaming"
I really need help, I searched Google, the Forum, everywhere... can't find it!
Thanks
Sorry but I don't understand your answer.
In Installaware you have the ability to define in your installer in which folder your application will be installed without popinp any "custom dialog"
You just put a variable in the Targetdir field in the run program installaware dialog.
There are several choices of variables like $PROGRAMFILES$ or $MYAPPDATA$...
My question is very straightforward I think: What is the variable name to make the installer install my application in "ApplicationData/Local" folder on Vista?
In Installaware you have the ability to define in your installer in which folder your application will be installed without popinp any "custom dialog"
You just put a variable in the Targetdir field in the run program installaware dialog.
There are several choices of variables like $PROGRAMFILES$ or $MYAPPDATA$...
My question is very straightforward I think: What is the variable name to make the installer install my application in "ApplicationData/Local" folder on Vista?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Use Get Folder Location on the System->CD Burning directory. It will return something like:
Then, you can call Extract Path on that path four times, and you're done:C:\\Users\\<user>\\AppData\\Local\\Microsoft\\Windows\\Burn\\Burn\
Code: Select all
Get Folder Location System->CD Burning Directory into FOLDER
Extract Parent Folder: FOLDER
Extract Parent Folder: FOLDER
Extract Parent Folder: FOLDER
Extract Parent Folder: FOLDER
MessageBox: FOLDER, $FOLDER$
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Get the LocalAppData folder as targetdir on Vista
This behavior has been updated in InstallAware 9 R2 as follows: the Get Folder Location command now has a new parameter to directly obtain this folder path on all operating systems directly.
Please help yourself to a release candidate of InstallAware 9 R2 to ensure it works to your satisfaction:
http://www.installaware.com/forum/viewtopic.ph ... 3&start=30
Please help yourself to a release candidate of InstallAware 9 R2 to ensure it works to your satisfaction:
http://www.installaware.com/forum/viewtopic.ph ... 3&start=30
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Get the LocalAppData folder as targetdir on Vista
Which one is it in the list - System application directory but not checking all users?
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Re: Get the LocalAppData folder as targetdir on Vista
Other->Local Application Data (at the very end of the list)
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Re: Get the LocalAppData folder as targetdir on Vista
I am just now playing with InstallAware as a trial and this option is available only in the MSICode, but NOT in the Design portion. It just isn't in the list. But it is in the list from the MSICode section.MichaelNesmith wrote:Other->Local Application Data (at the very end of the list)
Re: Get the LocalAppData folder as targetdir on Vista
If you assign a variable to the result in the MSI code first, then that path will show up in the designer to be able to add files and folders to.

