Change desktop path

Got a problem you cannot solve? Try here.
Post Reply
doreng
Posts: 2
Joined: Wed Jun 08, 2016 10:41 am

Change desktop path

Post by doreng »

I want to change the default Desktop path under Target Computer. Currently when I put a file in that folder it install it in “C:\Users\Public\Desktop” in need it to be C:\Users\wd\Desktop
How do I change the path ?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Change desktop path

Post by FrancescoT »

Dear Doreng,

the effective location of DESKTOP shortcuts depends on the installation mode selected; PER-MACHINE or PER-USER.

When installing as PER-MACHINE (ALLUSERS = TRUE) all DESKTOP shortcuts will be stored under;
- C:\Users\Public\Desktop

Otherwise with a PER-USER installation (ALLUSERS = FALSE) ;
- C:\Users\<CURRENT-USER>\Desktop

This is by design.

In case you need to retrieve the effective DESKTOP location for the current user, you can use the "Get Folder Location" command.
With the command is available the "Get for All Users" flag.
This determines if the command will attempt to obtain the location of the pre-defined folder that is shared by all users of the target system, if it is available.

Hope this helps you.

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
doreng
Posts: 2
Joined: Wed Jun 08, 2016 10:41 am

Re: Change desktop path

Post by doreng »

Thanks for the replay I figure out what the problem was. I already had it setup as Per-User Only but still got the public folder. The problems was that I was using a program to do a silent install with ALLUSERS=1 /qn /norestart, when I deleted the parameters then it worked fine.
Learned something new again :D
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Change desktop path

Post by FrancescoT »

:D
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
Post Reply