truongtr Posted November 20, 2015 Report post Posted November 20, 2015 Hi All, Is there any ways to deploy portable app and create shortcut on...\Public\Desktop. Thanks, Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted November 20, 2015 Report post Posted November 20, 2015 Anything can be done if you write the script to do it. Quote Share this post Link to post Share on other sites More sharing options...
0 truongtr Posted December 2, 2015 Report post Posted December 2, 2015 Sure, could you give some sample script. Moreover, there is any script create desktop shortcut. Tks Quote Share this post Link to post Share on other sites More sharing options...
0 spgsitsupport Posted December 2, 2015 Report post Posted December 2, 2015 I really like using Shortcut.exe from Optimum X Another SCCM shortfall if I must point out Needs Administrator/System privileges cmd /c shortcut.exe /F:"C:\ProgramData\Microsoft\Windows\Start Menu\!VSubst.lnk" /A:C /T:"C:\Windows\VSubst.exe" /P:^"U: C:\Users\^%username^%^" /D:"Substitute U drive" Only needs user privileges cmd /c shortcut.exe /F:"C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\!VSubst.lnk" /A:C /T:"C:\Windows\VSubst.exe" /P:^"U: C:\Users\^%username^%^" /D:"Substitute U drive" Quote Share this post Link to post Share on other sites More sharing options...
0 Rocket Man Posted December 2, 2015 Report post Posted December 2, 2015 You could create a package with all the contents of the portable app in it. Also manually pre-create a shortcut from the portable app and place it in the same package source and create a batch file named copy.bat for example and place it in the package also. The syntax of the batch file will be something along the lines of this, you can tidy this it up I am sure @Echoxcopy ".\*.*" "C:\PortableApp" /D /E /C /I /Q /H /R /Y /Sxcopy "%~dp0portableApp.lnk" "C:\Users\Public\Desktop" /yDEL /F /S /Q /A c:\PortableApp\copy.batDEL /F /S /Q /A c:\PortableApp\PortableApp.lnk@exit Content: Initially make sure that you create the package contents and place them in a location where you'd like them to be deployed to and then send a shortcut from the application out to the desktop and copy back into the sources folder, make sure that the location you are copying the source files is accessible to all users i:e C:\portableApp for example... create your SCCM package and the command line will be copy.bat You can test the above manually before deploying it in mass Quote Share this post Link to post Share on other sites More sharing options...
0 spgsitsupport Posted December 2, 2015 Report post Posted December 2, 2015 That reminds me of Windows 3.1 times, batch file to copy something somewhere. The best SCCM has to offer? Quote Share this post Link to post Share on other sites More sharing options...
0 Rocket Man Posted December 2, 2015 Report post Posted December 2, 2015 Lol... your obviously around a lot longer than I am Please do provide how you would do this as this is a learning curve for a lot of users on this forum, including myself. The above is a quick and simple way to solve the issue that truongtr had. I am sure there are numerous ways to achieve this and that is just one of them. BTW as you can see scripting is not my forte but I do try and do achieve! Not sure what you mean by The best SCCM has to offer but there is no denying it, it's a pretty powerful application, the rolls Royce in my own opinion! Quote Share this post Link to post Share on other sites More sharing options...
0 g-fx Posted December 2, 2015 Report post Posted December 2, 2015 you could also use group policy preferences to deliver the file and shortcut.. might be an easier method 1 Quote Share this post Link to post Share on other sites More sharing options...
0 spgsitsupport Posted December 3, 2015 Report post Posted December 3, 2015 Ofcourse, completely go away from SCCM & use something else, as it is easier... (have Royce in a garage, use Fiesta to go about) So then you have 2 things to manage, bits in each... Quote Share this post Link to post Share on other sites More sharing options...
Hi All,
Is there any ways to deploy portable app and create shortcut on...\Public\Desktop.
Thanks,
Share this post
Link to post
Share on other sites