coucou Posted November 18, 2005 Share Posted November 18, 2005 (edited) No I can't write a cmd script because the whole process is dependant upon WMI. That's one of the main reasons I started using VBscript for everything.Hi,Finally i had success with a cmd file.In fact, i found aVMware Command Line Tools where vmchk.exe tool inside (here attached bellow).When vmchk.exe run from a Command Prompt IN a "VMware Virtual Machine", the message "Runing inside VMWare <version 6>." is displayed. When vmchk.exe run NOT IN a VMware Virtual Machine, the message "Not runing inside VMWare." is displayed. I wrote a small script calling vmchk.exe and check if run IN or NOT IN a VMware machine@echo off set vm=Runing inside VMWare <version 6>. vmchk.exe >chkfile.dat for /f "delims=!" %%a in (chkfile.dat) do set check=%%a If "%check%" == "%vm%" VMwaretools.exe and here pipe directly to a variable for UA install directly run from a CD @echo off for /f %%a in ('vmchk') do ( if "%%a=="Runing inside VMWare <version 6>." vmtools.exe )Enjoycoucou Edited November 18, 2005 by coucou Link to comment Share on other sites More sharing options...
RogueSpear Posted November 18, 2005 Author Share Posted November 18, 2005 Nice find, but I still don't believe you'll get the installer itself to work from svcpack.inf or cmdlines.txt. At least I've never been able to. Link to comment Share on other sites More sharing options...
johnik Posted November 18, 2005 Share Posted November 18, 2005 Hi! Is it possible to deploy MSN Messenger 7.5 silently through GPO? Link to comment Share on other sites More sharing options...
coucou Posted November 18, 2005 Share Posted November 18, 2005 Nice find, but I still don't believe you'll get the installer itself to work from svcpack.inf or cmdlines.txt. At least I've never been able to.Hi RogueSpear,I will test it later with cmdlines.txt but I'm 100% sure it will works with [GuiRunOnce].BTW, just for my Info, I suppose you made VMwareTools 7-zip swittchless installer. I tried mine here bellow, and when i launch VMwareTools.exe i got the message (StartX, No parameters specified...) here attached image .;!@Install@!UTF-8!RunProgram="StartX.exe /WAIT \"msiexec /i VMwareTools.msi /qn-!\"";!@InstallEnd@!May you show me your confitg.txt???Regardscoucou Link to comment Share on other sites More sharing options...
RogueSpear Posted November 18, 2005 Author Share Posted November 18, 2005 I stopped using StartX.exe a long time ago in favor of runhiddenconsole.exe. Runnhiddenconsole is much smaller than startx and it doesn't seem to have as many limitations to it. Link to comment Share on other sites More sharing options...
coucou Posted November 18, 2005 Share Posted November 18, 2005 (edited) Ah!!! When i opened yr VMwareTools.exe i found StartX.exe inside and NO trace of runhiddenconsole.exe.I found runhiddenconsole.exe , there is no comment how to use it with .msi files. I would appreciate to know a template how to use it in cinfig.txt with .msi files.Regardscoucou Edited November 18, 2005 by coucou Link to comment Share on other sites More sharing options...
RogueSpear Posted November 18, 2005 Author Share Posted November 18, 2005 (edited) I'm attaching the program to this post. Here is an example of the config.txt from what I packed last:;!@Install@!UTF-8!RunProgram="RunHiddenConsole.exe /w msiexec /i FFDShow20050803.msi /qn";!@InstallEnd@!Much simpler context eh? Also don't forget to UPX your 7z sfx module. What I do is rename the file to 7zSorg.sfx. Use Resource Hacker or whatever you want to change the icon and then UPX it with this command line:upx -9 -o7zS.sfx 7zSorg.sfxThen combine it all to make your switchless silent installer:copy /b 7zS.sfx + config.txt + FFDShow20050803.7z FFDShow20050803.exeI realize that you may already know some of this, but I thought I'd include a little more for anyone else out there reading the thread.RunHiddenConsole.7z Edited November 18, 2005 by RogueSpear Link to comment Share on other sites More sharing options...
coucou Posted November 18, 2005 Share Posted November 18, 2005 Many TNX BTW, did you glance my post here above how i pipe directly to a variable for UA install directly run from a CD coucou Link to comment Share on other sites More sharing options...
muiz Posted November 18, 2005 Share Posted November 18, 2005 @coucou dont know Link to comment Share on other sites More sharing options...
keytotime Posted November 18, 2005 Share Posted November 18, 2005 If you look at my guide i use msistub.exe now. Link to comment Share on other sites More sharing options...
jingder Posted November 18, 2005 Share Posted November 18, 2005 Really admire what you doing..............awesome!!Wonderful Supereme Job!!!! Link to comment Share on other sites More sharing options...
RogueSpear Posted November 27, 2005 Author Share Posted November 27, 2005 (edited) Update - 20051126Updated Crap Cleaner to V1.26.218Added DVD Identifier V4.2.0Added MSN Messenger V7.5.0311.rarAdded Paint.NET V2.5Updated TrueCrypt to V4.1Please note that the Paint.NET installer has not been rigorously tested. I ran it through some it's paces, applied some filters, etc. and I didn't run into anything, but I'd appreciate it someone would give me feedback if there are any problems. I always worry about repacks of programs that require .NET. Edited November 27, 2005 by RogueSpear Link to comment Share on other sites More sharing options...
Synapse Posted November 27, 2005 Share Posted November 27, 2005 sweetness was waiting for CCleaner to get updated. very nice job, no problems here. Link to comment Share on other sites More sharing options...
natan770 Posted November 29, 2005 Share Posted November 29, 2005 Woowww... Thank you, RogueSpear.That's really a nice job. I wish I had seen it before! Natanhttp://www.windowsdream.com -- Auto-update your PC with freeware/opensourcehttp://ping.windowsdream.com -- Partimage Is Not Ghost Link to comment Share on other sites More sharing options...
S!L3N7 Posted November 30, 2005 Share Posted November 30, 2005 (edited) Any chance of one for Power DVD v5 or 6? I'm having problems with the silent install version at the moment, and there doesn't seem to be a fix...Thanks Edited November 30, 2005 by S!L3N7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now