System / Command Tab

Common questions about using Actual Installer.
Post Reply
UFa
Posts: 6
Joined: Tue Dec 08, 2020 10:09 am

System / Command Tab

Post by UFa »

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
Leo
Site Admin
Posts: 396
Joined: Fri Jan 22, 2010 12:40 pm
Contact:

Re: System / Command Tab

Post by Leo »

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).
Leo,
Actual Installer Team
http://www.actualinstaller.com
Post Reply