Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Kapo

Silent installation for VirtualDubMod & EAC ?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

:)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ;)

Edited by sonic

Share this post


Link to post
Share on other sites

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 post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...