MSFN Forum: Silent installation for VirtualDubMod & EAC ? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Silent installation for VirtualDubMod & EAC ? Rate Topic: -----

#1 User is offline   Kapo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 07-September 05

Posted 14 November 2005 - 12:59 PM

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


#2 User is offline   totoymola 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 944
  • Joined: 24-September 04

Posted 14 November 2005 - 01:43 PM

Hey Kapo! :)

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.

:)

#3 User is offline   keytotime 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 400
  • Joined: 05-October 04

Posted 14 November 2005 - 01:56 PM

Same goes for eac, just make and sfx that extract to wherever you want.

#4 User is offline   Kapo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 76
  • Joined: 07-September 05

Posted 14 November 2005 - 02:00 PM

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.

#5 User is offline   benners 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 692
  • Joined: 29-December 03

Posted 14 November 2005 - 03:34 PM

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.

Attached File(s)



#6 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,600
  • Joined: 04-December 03

Posted 14 November 2005 - 04:11 PM

You can use NSIS installer too ...

Here is an example (from me)
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 ;)

This post has been edited by sonic: 14 November 2005 - 04:12 PM


#7 User is offline   gelome 

  • Expect da Unexpected
  • Group: Members
  • Posts: 31
  • Joined: 22-January 05

Posted 17 November 2005 - 09:38 AM

you can use inno setup wizard to create the intsller....i did it and its superb....i found it was easier than nsis!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy