Help - Search - Members - Calendar
Full Version: [How to] 7zip virtualdub or virtualdubmode?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
kurt476
how do i do a 7zip virtualdub? how do i have it create shortcut on the desktop?
i would like the program avisetup.exe too run after too. oh and i have filters too for virtualdub.
SiMoNsAyS
it doesn't need reg entries, just sfx it.
for the shortcut... well xcopy your already created .lnk? try to use system variables to make sure it will work.
kurt476
ok. how do i have .lnk copy from the sfx too the desktop?
FrankE9999
To uncompress a file to a folder and create a shortcut all you need is a simple batch file. Here is the batch file I use to install Unknown Devices. I have the batch file and the zip file in the same folder. Also I have added unzip.exe and shortcut.exe to my system32 folder. You could also place them in the folder with the other files. In that case unzip would be replaced with "%~dp0unzip.exe" and shortcut.exe would be replaced by "%~dp0shortcut.exe" including the quotes.

The only commands you need are unzip.exe and shortcut.exe.
unzip.exe http://www.info-zip.org/UnZip.html
shortcut.exe http://www.optimumx.com


@echo off
setlocal
set dest=%~1
if "%dest%"=="" set dest=%ProgramFiles%\Admin\Unknown Devices
if not exist "%dest%" md "%dest%"
unzip -o "%~dp0UnknownDevices.zip" -d "%dest%"
if not exist "%ALLUSERSPROFILE%\Start Menu\Programs\Admin" md "%ALLUSERSPROFILE%\Start Menu\Programs\Admin"
shortcut.exe /F:"%ALLUSERSPROFILE%\Start Menu\Programs\Admin\Unknown Devices.lnk" /A:C /T:"%dest%\UnknownDevices.exe" /W:"%dest%"
endlocal




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.