Help - Search - Members - Calendar
Full Version: Silent installation for VirtualDubMod & EAC ?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Kapo
Need two silent installation switches and/or method
for this two programs:

VirtualDubMod 1.5.10.2
Exact Audio Copy V0.95 beta 3

Thanks in advance.
Kap thumbup.gif
totoymola
Hey Kapo! smile.gif

I don't think you need to install VDM. All the files are compressed in a zip archive. All you have to do is copy all of those to any directory you want. Or maybe it is better if you can make your own installer for this little program.

smile.gif
keytotime
Same goes for eac, just make and sfx that extract to wherever you want.
Kapo
because i would like to disinstall the pack if you want.

I think i have to make an inf installation if there are not
switches.
benners
As stated previously, EAC installs all its files in one directory so you could make an Inno setup installer.

Attached is one I used to use just to give you an idea, this will install to C:\Program Files\Exact Audio Copy, and create some shortcuts.

On uninstall it will delete the keys created by EAC and delete the folder.
Sonic
You can use NSIS installer too ...

Here is an example (from me)
CODE
Name "YourProjectName"

!define PRODUCT "YourProjectName"
!include "MUI.nsh"
!define HAVE_UPX
!ifdef HAVE_UPX
!packhdr tmp.dat "upx -9 tmp.dat"
!endif
SetCompressor lzma

OutFile "YourOutputSetup.exe"
BRANDINGTEXT "YourProjectName"

InstallDir "$PROGRAMFILES\${PRODUCT}"
  !insertmacro MUI_PAGE_DIRECTORY
  !insertmacro MUI_PAGE_INSTFILES
  !insertmacro MUI_PAGE_FINISH
  !insertmacro MUI_UNPAGE_CONFIRM
  !insertmacro MUI_UNPAGE_INSTFILES
  !define MUI_ABORTWARNING
  !insertmacro MUI_LANGUAGE "French"

Section "section_1" section_1
;Copie des fichiers
  SetOutPath "$INSTDIR"
  FILE /r "C:\YourFolderToCompress\*.*"
SectionEnd

Section Shortcuts
  CreateShortCut "$DESKTOP\YourProjectName.lnk" "$INSTDIR\Main.exe" "switches if you want" "$INSTDIR\icon.exe" 0
SectionEnd

Section Uninstaller
  CreateShortCut "$SMPROGRAMS\NameOfTheUninstaller.lnk" "$INSTDIR\NameOfTheUninstaller.exe" "" "$INSTDIR\NameOfTheUninstaller.exe" 0
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\YourProjectName" "DisplayName" "${PRODUCT}"
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\YourProjectName" "UninstallString" "$INSTDIR\NameOfTheUninstaller.exe"
  WriteRegStr HKCU "Software\${PRODUCT}" "" $INSTDIR
  WriteUninstaller "$INSTDIR\NameOfTheUninstaller.exe"
SectionEnd


Function un.onUninstSuccess
  HideWindow
;Edit message text (succesfully uninstalled ...)
  MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) à été désinstallé avec succès"
FunctionEnd
  
Function un.onInit
;Confirmation of the uninstallation ...
  MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Êtes-vous sûr de vouloir désinstaller $(^Name) ?" IDYES +2
  Abort
FunctionEnd

Section "Uninstall"
  Delete "$DESKTOP\YourProjectName.lnk"
  Delete "$SMPROGRAMS\NameOfTheUninstaller.lnk"
  Delete "$INSTDIR\*.*"
  DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\YourProjectName"
  RMDir "$INSTDIR"
SectionEnd
              
;eof


Compil it and your installer is ready newwink.gif
gelome
you can use inno setup wizard to create the intsller....i did it and its superb....i found it was easier than nsis!




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.