Kapo Posted November 14, 2005 Posted November 14, 2005 Need two silent installation switches and/or methodfor this two programs:VirtualDubMod 1.5.10.2 Exact Audio Copy V0.95 beta 3 Thanks in advance.Kap
totoymola Posted November 14, 2005 Posted November 14, 2005 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.
keytotime Posted November 14, 2005 Posted November 14, 2005 Same goes for eac, just make and sfx that extract to wherever you want.
Kapo Posted November 14, 2005 Author Posted November 14, 2005 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 Posted November 14, 2005 Posted November 14, 2005 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.ExactAudio.iss
Sonic Posted November 14, 2005 Posted November 14, 2005 (edited) 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"!endifSetCompressor lzmaOutFile "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\*.*"SectionEndSection Shortcuts CreateShortCut "$DESKTOP\YourProjectName.lnk" "$INSTDIR\Main.exe" "switches if you want" "$INSTDIR\icon.exe" 0SectionEndSection 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"SectionEndFunction un.onUninstSuccess HideWindow;Edit message text (succesfully uninstalled ...) MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) à été désinstallé avec succès"FunctionEndFunction un.onInit;Confirmation of the uninstallation ... MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Êtes-vous sûr de vouloir désinstaller $(^Name) ?" IDYES +2 AbortFunctionEndSection "Uninstall" Delete "$DESKTOP\YourProjectName.lnk" Delete "$SMPROGRAMS\NameOfTheUninstaller.lnk" Delete "$INSTDIR\*.*" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\YourProjectName" RMDir "$INSTDIR"SectionEnd;eofCompil it and your installer is ready Edited November 14, 2005 by sonic
gelome Posted November 17, 2005 Posted November 17, 2005 you can use inno setup wizard to create the intsller....i did it and its superb....i found it was easier than nsis!
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