System / Command Tab
Posted: Tue Dec 08, 2020 1:48 pm
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
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