Nope. Not according to microsoft.
This should be it.
%systemroot%\SysWoW64\regsvr32.exe /s xvid.ax
%systemroot%\System32\regsvr32.exe /s xvid.ax
**Dialog pop-up box after Install**
Moderator: DosItHelp
Re: **Dialog pop-up box after Install**
Foxi, As you know Windows always has about 3-4 ways to do the same thing...
The MSNF forum uses my shorter code and it WORKS great!
Your MS code is longer and requires more typing
%systemroot%\SysWoW64\regsvr32.exe /s xvid.ax
vs mine
regsvr32 /s %windir%\syswow64\xvid.ax
besides less can be more sometimes..
The MSNF forum uses my shorter code and it WORKS great!
Your MS code is longer and requires more typing
%systemroot%\SysWoW64\regsvr32.exe /s xvid.ax
vs mine
regsvr32 /s %windir%\syswow64\xvid.ax
besides less can be more sometimes..

Re: **Dialog pop-up box after Install**
SuzyQJax wrote:1.I know my script may be a little over the top but it does not require a file name for my .exe
2.The Supressmsgbox switch is from http://silentswitch.wordpress.com/a/
3.and CD because once everything in my directory is working I will then create a SelF eXtracting
(SFX) Archive File using WinRAR or 7-Zip for my silent unattended install.
I'm sorry for my last message as I might have been a little too rude.
Good to know that you now have a working code, but anyway.
What I wanted to point out is, regardless of what the website 'says', %CD% will always expand to the current working directory. So, if your batch file is working under %userprofile% (let's say it is "C:\Users\Suzy"), and there is no CD [/D] or PUSHD commands in it, that piece line will expand to the following:
Code: Select all
/suppressmessageboxes=C:\Users\Suzy
And I think, the correct value for this switch should be something "True" related, i.e., "True", "Y" or 1.
Re: **Dialog pop-up box after Install**
Thanx for the response Fawers ...
after some Googling I rediscoverd the pipe command that does
what I need to run all my files in sequence..
:Execute programs simultaneously with the pipe (|) symbol and as oneliner.
XviD-Dec.exe /S | ping -n 1 127.0.0.1 >nul | taskkill /f /im XviD-Dec.exe>nul
start "" does the same but then you have everything on 3 lines of code.
instead of one..
start "" XviD-Dec.exe /S /VERYSILENT
ping -n 1 127.0.0.1 >nul
taskkill /f /im XviD-Dec.exe>nul
after some Googling I rediscoverd the pipe command that does
what I need to run all my files in sequence..
:Execute programs simultaneously with the pipe (|) symbol and as oneliner.
XviD-Dec.exe /S | ping -n 1 127.0.0.1 >nul | taskkill /f /im XviD-Dec.exe>nul
start "" does the same but then you have everything on 3 lines of code.
instead of one..
start "" XviD-Dec.exe /S /VERYSILENT
ping -n 1 127.0.0.1 >nul
taskkill /f /im XviD-Dec.exe>nul
Re: **Dialog pop-up box after Install**
I don't believe you want to PIPE the output of those commands to the next command.
I believe what you meant to use was the AMPERSAND (&).
I believe what you meant to use was the AMPERSAND (&).
Re: **Dialog pop-up box after Install**
SuzyQJax wrote:Thanx for the response Fawers ...
after some Googling I rediscoverd the pipe command that does
what I need to run all my files in sequence..
:Execute programs simultaneously with the pipe (|) symbol and as oneliner.
XviD-Dec.exe /S | ping -n 1 127.0.0.1 >nul | taskkill /f /im XviD-Dec.exe>nul
start "" does the same but then you have everything on 3 lines of code.
instead of one..
start "" XviD-Dec.exe /S /VERYSILENT
ping -n 1 127.0.0.1 >nul
taskkill /f /im XviD-Dec.exe>nul
Squashman is right here. The pipe operator will append the output of command1 to the input of command2 in
Code: Select all
command1|command2
so that dir /b|find /i ".exe" will only show .exe files in the current folder.
You can use variations of the ampersand (&) operator:
command1&command2 - Both commands will try to run.
command1&&command2 - Command2 will only run if command1 is successful.
command1||command2 - Command2 will only run if command1 fails.
Re: **Dialog pop-up box after Install**
I don't believe you want to PIPE the output of those commands to the next command.
NO THATS what I want to do..
Per MS the Pipe:" Reads the output from one command and writes it to the input of another command"
Which is exactley with I want to do..
run .exe file, then give 1 sec pause to allow taskkill to kill the pop-up that the program has been successfully installed.
(remember this all started from my 1st post about the dialog pop-up box
then foxi suggested the start command then give delay to allow time for
taskkill to kill the pop-up, I could do it with the start but the pipe does the samething and looks cleaner on one line.)
I tried using ampersand but it would never work, but the pipe does the job everytime..
Thanks again Guys for all your Help!! SuzyQ
