Hello,
How do you set the shortcut icon under Resources --> Shortcuts --> Display --> Icon using PowerShell or any other command line?
Regards,
Obay
Code: Select all
$advinst = New-Object -ComObject AdvancedInstaller
$project = $advinst.LoadProject("D:\PS support\sample.aip")
$shortcut = $project.ShortcutsComponent.Shortcuts[0]
$shortcut.Name
$shortcut.FullPath
$shortcut.Icon("D:\PS support\applogoicon.ico")
$project.Save()