You are here

Installing the TestGen Plugin Silently

I was wondering if there was a way to install the TestGen plugin silently for Firefox.

I was able to get it to install silently for Internet Explorer using the following commands:

Record the settings you want:

tg74pluginsetup.exe -r: ie_testgen.ini

Run through the installer like you normally would, EXCEPT, counter intuitively, select Firefox as the browser you want to install it for.

This will spit out a file called ie_testgen.ini. Save this file. It is what you need for the silent install.

Then, on a fresh machine, you can run the following:

tg74pluginsetup.exe -p: ie_testgen.ini

and it will "playback" the ini file settings into the .exe setup and install the plugin for Internet Explorer. I tried the same thing for Firefox, but got write errors for the plugin directory. Any plans on getting a silent install working for Firefox?

Thanks,

Nate Walck
nate@liberty.edu

TestGen Forums: 

Hi Nate,

Unfortunately we do not have a silent install option built into the plug-in at this time. However, it's still possible to automate installs.

Typically, on Windows, admins write an auto-mater with Autoit to script the process (I've heard it's possible with MSI as well). On the Mac side they use Remote access or a combination of Telnet/SSH and the install command line tool.

Jeff

I know it's an old topic but I managed to sort this out.

There's a bug in the way the variables are set in the ini files that are recorded by vice when you use -r:. Basically there is a variable called WhichBrowser that controls what browser is installed. In the binary there are 3 options, 1 = netscape, 2 = internet explorer, 3 = firefox. If you feel like opening up the setup executable in a hex editor you can find the values with a bit of searching. Anyway the dialog only has two options, 1 = internet explorer, 2 = firefox. What happens is the value from the dialog is saved, not the value the installer is looking for.

The fix is easy:
Record an install, doesn't matter which browser.
Once it's finished open up the ini.
Find where WhichBrowser is defined and change it's value (2 = internet explorer, 3 = firefox)
Make sure you change it in both spots.

This is what my firefox ini looks like:
[SelectPackage]
PackageFlags=0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[CustomScreen(17)]
Result=1
Variables=WhichBrowserþ3ÿ
[CustomScreen(46)]
Result=1
Variables=WhichBrowserþ3ÿProxyIPþÿProxyPortþ80ÿUseProxyþ2ÿ
[MessageBox(82)]
Choice=1

All forum messages express the views of the author, and Tamarack Software will not be held responsible for the content of any message. By participating in the Forum, you agree to abide by the Terms of Use and not to:

(a) post any messages that are threatening, libelous, defamatory, obscene, vulgar, sexually-oriented or otherwise unlawful; (b) post messages totally unrelated to TestGen Software; (c) advertise unauthorized products and services; and (d) send Spam.

Back to top