So I was having an Issue where an installer was not creating a shortcut on the desktop, turns out it was a installer issue but due to the fact we SCCM to deploy we can run a simple powershell script to solve this issue.
Below is the script, that needs to be run as admin.
$InstallPath = "${env:ProgramFiles(x86)}\JetBrains\PyCharm Community Edition 5.0.4\"$InstallPath.\pycharm-community-5.0.4.exe /S /D=$InstallPath# Create a Shortcut with Windows PowerShell$TargetFile = "$InstallPath\bin\pycharm.exe"$ShortcutFile = "$env:Public\Desktop\Pycharm.lnk"$WScriptShell = New-Object -ComObject WScript.Shell$Shortcut = $WScriptShell.CreateShortcut($ShortcutFile)$Shortcut.TargetPath = $TargetFile$Shortcut.Save()
UPDATE 10/07/2017:
I have found the real reason why this is required, when using silent install the installer will always default to non-admin and as such does not do the following:
-
No shortcut gets created in the
Public\Desktop
-
No Start Menu entries are created
-
The software is not listed in the “Programs
and Features” list in Control Panel
-
No registry key is added to the
HKLM:\..\Uninstall branch
-
The uninstall registry key is created in the
HKCU branch
this is tracked here:
IDEA-146215
After looking through a few blog articles on your website,
ReplyDeletewe sincerely appreciate the way you blogged.
We've added it to our list of bookmarked web pages and will be checking back in the near
future. Please also visit my website and tell us what you think.
Great work with hard work you have done I appreciate your work thanks for sharing it.
PYCharm Key
FON PERDE MODELLERİ
ReplyDeleteMobil onay
Vodafone mobil ödeme bozdurma
nft nasıl alınır
ANKARA EVDEN EVE NAKLİYAT
trafik sigortası
dedektör
web sitesi kurma
Aşk romanları
SMM PANEL
ReplyDeletesmm panel
İŞ İLANLARI
instagram takipçi satın al
HIRDAVATÇI
beyazesyateknikservisi.com.tr
Servis
TİKTOK PARA HİLESİ
yurtdışı kargo
ReplyDeletelisans satın al
nft nasıl alınır
özel ambulans
en son çıkan perde modelleri
en son çıkan perde modelleri
uc satın al
minecraft premium