Forum Discussion
Win32 app installed desktop shortcut with no custom icon
- Jan 17, 2024Copy-Item ".\UKGi.ico" -Destination "c:\scut\UKGi.ico ---> Copy-Item ".\UKGi.ico" -Destination "c:\scut\UKGi.ico" , you mist the last " I think 😉
You should have all the files in your .Intunewin package. Copy-Item "S:\Shortcuts\UKGi.ico" -Destination "c:\scut\UKGi.ico" should be Copy-Item ".\UKGi.ico" -Destination "c:\scut\UKGi.ico" if the files are all in one folder from which you create the .intunewin package. Run this with the System installation behavior when configuring the settings in Intune and uploading the package.
The system account doesn't have the mapping in its environment, so it doesn't work the way it's configured right now.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If one of the posts was helpful in other ways, please consider giving it a Like.
- Jan 15, 2024Let us know, curious!
- Jesse13579Jan 17, 2024Copper Contributor
Harm_Veenstra I put the ico in the same folder that’s accessible on the share, rebuilt the Intunewin package, and completely removed the app from intune and set it up again. I’m still not getting the custom icon. The shortcut installs on the public desktop just fine. It just doesn’t have the icon.
- Jan 17, 2024Could you show us the contents of the folder and the install script?