Short Cut Location
Hey all,
This is my first post, and i would like to say Fantastic website, i come here a lot!
My question is most likely very simple for you all to answer, and i'm not too sure if it has been asked or not...i've done some searches but i couldn't find any. Anywhoo, here is the question.
I have a vendor delivered MSI file. However with the 'great' wisdom of this vendor, they have somehow coded the application so that after the installation of the program, it puts ALL of the shortcuts into the logged in User Desktop and Program Folder. What i need is to redirect it so that it puts All of the shortcuts and the program folder into ALL USERS directory. I just can't seem to find how to do this...
Please let me know how to do this...Thank you all so much in advance!
This is my first post, and i would like to say Fantastic website, i come here a lot!
My question is most likely very simple for you all to answer, and i'm not too sure if it has been asked or not...i've done some searches but i couldn't find any. Anywhoo, here is the question.
I have a vendor delivered MSI file. However with the 'great' wisdom of this vendor, they have somehow coded the application so that after the installation of the program, it puts ALL of the shortcuts into the logged in User Desktop and Program Folder. What i need is to redirect it so that it puts All of the shortcuts and the program folder into ALL USERS directory. I just can't seem to find how to do this...
Please let me know how to do this...Thank you all so much in advance!
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
Coriolus
16 years ago
Hello and welcome,
This is what I would do, I would make a batch file that runs the MSI via command line silent mode using 'START /wait' to call the msi. In the same batch file use xcopy to copy or you can even move the shortcut frm it's default location to the 'All Users' profile. This way is simple it keeps the MSI intact without modifying it.
Example:
start /wait c:\windows\system32\msiexec.exe /i <path to MSI> /qb ALLUSERS=1
move /y c:\documents and setting\Joe\Desktop\shortcut.lnk c:\documents and settings\all users\desktop
good luck.
This is what I would do, I would make a batch file that runs the MSI via command line silent mode using 'START /wait' to call the msi. In the same batch file use xcopy to copy or you can even move the shortcut frm it's default location to the 'All Users' profile. This way is simple it keeps the MSI intact without modifying it.
Example:
start /wait c:\windows\system32\msiexec.exe /i <path to MSI> /qb ALLUSERS=1
move /y c:\documents and setting\Joe\Desktop\shortcut.lnk c:\documents and settings\all users\desktop
good luck.
Posted by:
NYCPackager
16 years ago
i was thinking about it, and that would work, but here's the issue, i am deploying this application to thousands of workstations using a deployment tool....i am also using a script to utilize a local administrator to install this application. The issue is this, this particular local user doesn't really exist in all of the workstations...
so the best and easiest solution is to modify the MSI to make it drop the shortcuts onto the ALL USERS folder instead of Installed User Folder.
so the best and easiest solution is to modify the MSI to make it drop the shortcuts onto the ALL USERS folder instead of Installed User Folder.
Posted by:
AngelD
16 years ago
Posted by:
NYCPackager
16 years ago
I checked for the ALLUSERS property on the property manager, however that particular property does not exist. I can add the property and set it to 1, but when i tried that, application doesn't install, and it just bombs out. i will try it once more and see how it goes. I do however see ApplicationUsers=AllUsers property...?
I've also checked for a custom action on the Property Manager, but i don't see any.
I've also checked for a custom action on the Property Manager, but i don't see any.
Posted by:
Coriolus
16 years ago
ORIGINAL: NYCPackager
i was thinking about it, and that would work, but here's the issue, i am deploying this application to thousands of workstations using a deployment tool....i am also using a script to utilize a local administrator to install this application. The issue is this, this particular local user doesn't really exist in all of the workstations...
so the best and easiest solution is to modify the MSI to make it drop the shortcuts onto the ALL USERS folder instead of Installed User Folder.
That is exactly what I stated above, do a copy via batch file to the ALL USERS folder. ALL USers =1 won't always create shortcuts for all users.
Posted by:
AngelD
16 years ago
Posted by:
NYCPackager
16 years ago
Hey AngelD,
I've added the ALLUSERS=1 to the MSI and this time it seems to work...and i have been using this option since yesterday, and it is working perfectly so far...Thanks for the help on that one!!
now i have one more issue...not sure if i should create a new thread or not...but here it is.
This particular Application (the same one), requires a user account to install oddly enough. Let me make that clear...At my job, i use ZenWorks to do mass distribution, and i set the application object to use a System User to install applications. So i use a script to basically Run (Setup.exe, <flags>). The thing is if i use the System User account the application starts to install, but then it just stops. However, if i code the script to utilze a Domain / Local User account to install the application, it installs fine. How do i edit the MSI so that it doesn't have any ties to any user account?
I've added the ALLUSERS=1 to the MSI and this time it seems to work...and i have been using this option since yesterday, and it is working perfectly so far...Thanks for the help on that one!!
now i have one more issue...not sure if i should create a new thread or not...but here it is.
This particular Application (the same one), requires a user account to install oddly enough. Let me make that clear...At my job, i use ZenWorks to do mass distribution, and i set the application object to use a System User to install applications. So i use a script to basically Run (Setup.exe, <flags>). The thing is if i use the System User account the application starts to install, but then it just stops. However, if i code the script to utilze a Domain / Local User account to install the application, it installs fine. How do i edit the MSI so that it doesn't have any ties to any user account?
Posted by:
AngelD
16 years ago
Posted by:
NYCPackager
16 years ago
Posted by:
AngelD
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.