System / Command Tab

Common questions about using Actual Installer.

System / Command Tab

Postby UFa » 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.

Posts: 1
Joined: Tue Dec 08, 2020 10:09 am

Re: System / Command Tab

Postby Leo » Thu Dec 10, 2020 8:59 am

Try the following:
Code: Select all
Parameters: /C IF /I <Component2>==0 (del /q "C:\Users\Public\Desktop\PROGRAM.lnk")

make sure the path to the shortcut is correct, by just trying to launch it (press Win+R, and type path).
Actual Installer Team
Site Admin
Posts: 361
Joined: Fri Jan 22, 2010 12:40 pm

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 3 guests