Jump to content

Setup Automation and Parameters


Recommended Posts

Posted

Hello Zak,

Could you describe, which parameters are possible for an unattanded setup?

We found the tni-setup.exe /SILENT and /RUN for an unattended setup with starting TNI after the Setup.

Does the c:\Program Files (x86)\Total Network Inventory 2\unins000.exe /SILENT uninstall TNI silent as well?

Greetings, Karel

Posted

Well, after try and error testing, we found some further information:

TNI is using the Inno Setup routine: Here are a few Parameters, that we use:

tni-setup.exe" /SILENT /MERGETASKS="!desktopicon" (This will not create an Icon on the Desktop)

There are a still a few questions:

1: What is the Inno Setup Task for the quicklaunchicons? (is it "quicklaunchicon")

2: During the uninstall, there is a message box asking for sending Feedback. It appears all the time even with

"%PROGRAMFILES(x86)%\Total Network Inventory 2\unins000.exe" /SILENT

or

"%PROGRAMFILES(x86)%\Total Network Inventory 2\unins000.exe" /VERYSILENT

How can we deactivate this box during scripted uninstall?

Greetings, Karel

Posted

Hi Karel,

You can find the parameters of the installer and uninstaller in the Inno Setup documentation:

http://www.jrsoftware.org/ishelp/index.php?topic=setupcmdline
http://www.jrsoftware.org/ishelp/index.php?topic=uninstcmdline

Indeed, /SILENT and /VERYSILENT can be used, as well as /MERGETASKS.

1. Yes, "quicklaunchicon" is the task name for the Quick Launch icon.

2. Unfortunately it's not possible to deactivate the feedback message box using these command-line switches. It is custom-made and does not rely on these switches. That's something we need to fix.

P.S. Why do you need unattended setup and uninstallation of TNI? It is not meant to be mass-installed on each computer...

  • 2 months later...
Posted

Hi Zak,

Thanks for the info.

FYI regarding automation: We need to automate the installation process for our administrative computers (4 PCs). We have this requirement for all software products in our company, all installations must be automated by 100%.

It would be great, if you could implement a switch to make the message box disappear.

Greetings, Karel

 

  • 4 weeks later...
Posted

Hi Karel,

The message box asking for feedback during uninstall will not appear anymore when running the uninstaller with any of the silent switches. This change will be added in the upcoming update (version 2.2.1).

  • 2 months later...
  • 1 year later...
Posted

Hi Zak,

is there a parameter for the TNI v3 setup to install nmap as well?

currently I use for the installation the commandline and it is working great:

tni-setup.exe /SILENT /MERGETASKS="!desktopicon"

Kind greetings, karel

Posted

Hi Karel,

Very easy, just add the following to your command line:

/COMPONENTS="nmap"

By the way, there is also a quick launch icon which you might want to disable:

/MERGETASKS="!desktopicon,!quicklaunchicon"

  • 4 years later...
Posted

Hi, 

the parameters for automation are not working anymore starting with version 4.2.5. Could you update the possible parameters for silent install and uninstall please..?

If I use: 

"%PROGRAMFILES(x86)%\Total Network Inventory 2\unins000.exe" /SILENT

i get the error: 

Runtime Error (at 95:119): Could not call proc.

Greetings, Karel

post-6722-0-80162300-1574671609_thumb.png

Posted

Hello Karel,

Thanks for your message.

We apologize for the inconvenience. You are right, silent uninstallation doesn't work correctly in the latest TNI version.

This issue will be fixed in the next update.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...