Install Parameters

287 views
Skip to first unread message

crazy...@gmail.com

unread,
Aug 2, 2012, 12:01:44 PM8/2/12
to wamo...@googlegroups.com
Are there install switches to install quietly, unattended, and to change parameters (set password, enable remote access, etc) during install? Would like to push this via group policy to a small group of systems via GP of users who's activities have been in question. Thx

lwo...@fairwindsintl.com

unread,
Oct 10, 2012, 12:04:50 PM10/10/12
to wamo...@googlegroups.com, crazy...@gmail.com
HI, I would be interested to know this answer as well. Thanks. 

gwi...@gmail.com

unread,
Oct 13, 2012, 12:48:30 PM10/13/12
to wamo...@googlegroups.com, crazy...@gmail.com
+1 for this request

Tomas

unread,
Oct 16, 2012, 7:49:34 AM10/16/12
to wamo...@googlegroups.com, crazy...@gmail.com
Wamon installation is build using InnoSetup, so the installer command line options are described here:

Changing parameters (password, remote access, etc.) however cannot be done via command line. If you are adventurous enough, you may change the params by directly accessing the wamon database file ([common_app_data]\wam\wam.dat is an SQLite3 database file). The SQL commands might look something like:
update settings set value='1' where key='remote_access'
update settings set value=sha1('password') where key='password'

Hope this helps,
Tomas.

lran...@gmail.com

unread,
Feb 28, 2013, 12:38:01 PM2/28/13
to wamo...@googlegroups.com, crazy...@gmail.com
Create a batch file with the following code and put it in the same directory with a copy of wamon13.exe and sqlite3.exe: http://www.sqlite.org/sqlite-shell-osx-x86-3071502.zip

@ECHO OFF

WAMON13.EXE /SP /SILENT /SUPPRESSMSGBOXES /LOG /NOCANCEL /NORESTART /CLOSEAPPLICATIONS /NOICONS

IF EXIST "C:\ProgramData\wam\wam.dat" SET WAMDAT="C:\ProgramData\wam\wam.dat"
IF EXIST "C:\Documents and Settings\All Users\wam\wam.dat" SET WAMDAT="C:\Documents and Settings\All Users\wam\wam.dat"

sqlite3 %WAMDAT% "update settings set value='1' where key='remote_access';"
sqlite3 %WAMDAT% "update settings set value='1' where key='RecordIdle';"

It installs a silent copy of WAMON, then uses sqlite3 to update the database enabling remote access and recording of idle time.

If you are doing a lot of computers, run the file from a central location via a login script and add the following command:

ECHO.^<A HREF=http://%computername%:57824/stats^>%computername% - %username%^</a^> >> wamon.html

Now you'll not only silently install the program to all of your users, but you'll have an html file that continuously updates with links to the users that have installed the program.

Seems to work great!

lran...@gmail.com

unread,
Feb 28, 2013, 12:54:47 PM2/28/13
to wamo...@googlegroups.com, crazy...@gmail.com, lran...@gmail.com
My bad, the sqlite3 version above is for Mac

This is the windows version:sqlite-shell-win32-x86-3071502.zip
Reply all
Reply to author
Forward
0 new messages