Where is $ALLAPPDATA$ defined?
Where is $ALLAPPDATA$ defined?
A file that I have designated as going to $ALLAPPDATA$ ends up under the c:\program Files path. How can I explicitly set this?
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Where is $ALLAPPDATA$ defined?
Dear User,
By default, the ALLAPPDATA variable is initialized as;
Regards
By default, the ALLAPPDATA variable is initialized as;
Code: Select all
Get Common Folder Location System->Application Data Directory into ALLAPPDATAFrancesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Where is $ALLAPPDATA$ defined?
I thought so. That's why I was surprised to find the file in a folder under the folder that the executable is stored it.
I didn't create this project. Does this say that the project is not using the default location?
I didn't create this project. Does this say that the project is not using the default location?
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Where is $ALLAPPDATA$ defined?
Yes probably, but I can't be sure of intentions of those who created the project.
or... an unwanted variable assignment.
Regards
or... an unwanted variable assignment.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Where is $ALLAPPDATA$ defined?
I searched the MSI for all instances of AllAppData and the only time it is initialized is the line you talked about above.
Get Common Folder Location System->Application Data Directory into ALLAPPDATA
Can something in the project affect what "Get Common Folder Location System->Application Data Directory" returns?
Get Common Folder Location System->Application Data Directory into ALLAPPDATA
Can something in the project affect what "Get Common Folder Location System->Application Data Directory" returns?
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Where is $ALLAPPDATA$ defined?
Which is tha IA version you are using?
Regards
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Where is $ALLAPPDATA$ defined?
InatallAware NX (Build 10.02.12) Mooooya
Thank you for your help.
Thank you for your help.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Where is $ALLAPPDATA$ defined?
Dear User,
could you please use the attached sample project?
The sample retrieves the "Application Data Directory" for allusers (if applicable) and for current user.
The enclosed file also contains the ready to run exe package.
When execute on a WIN 7 machine, it should display the following results.
Regards
could you please use the attached sample project?
The sample retrieves the "Application Data Directory" for allusers (if applicable) and for current user.
The enclosed file also contains the ready to run exe package.
When execute on a WIN 7 machine, it should display the following results.
Regards
- Attachments
-
- output.gif (17.09 KiB) Viewed 7779 times
-
- allppdatatest.rar
- (1.34 MiB) Downloaded 414 times
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

