Hi there,
I am trying to perform a command, wenn a componet in "Interface / Custom Tab" -- Select Components is not selected resp. deselected:
I would like to delete a desktop icon, which I installed during installation, as in most cases the appropriate component is not deselected. Therefore I created before a desktop icon in "Installation/Shortcut Tabs"
But I am not getting the expected result as the icon is not deleted at the end.
Here is my "code":
File: <SystemDir>\cmd.exe
Parameters: /C IF /I <Component2>==0 "del /q C:\Users\Public\Desktop\PROGRAM.lnk"
Timing: After Installation
Wait for process to finish: selected
Run as admin: selected
Is there a mistake in the parameters ?
Any Every hint is appreciated.
Cheers,
UFa
System / Command Tab
Re: System / Command Tab
Try the following:
make sure the path to the shortcut is correct, by just trying to launch it (press Win+R, and type path).
Code: Select all
Parameters: /C IF /I <Component2>==0 (del /q "C:\Users\Public\Desktop\PROGRAM.lnk")