http://testmem.narod.ru/snm.htm
download:
http://www.benchmarkhq.ru
www.softportal.com

the best stress&stability test IMHO.
tnx in advance
theSLug
This post has been edited by theSLug: 21 May 2007 - 04:18 AM
Posted 21 May 2007 - 04:13 AM

This post has been edited by theSLug: 21 May 2007 - 04:18 AM
Posted 21 May 2007 - 05:56 AM
;S&M_installscipt.nsi
;
;Sample NSIS silent installation script by Geezery
;
;Name of the program
Name "S&M - Stress test v1.8.1 beta"
;Name of the executable file
OutFile "S&M_setup.exe"
;Installation path
InstallDir "$PROGRAMFILES\S&M\"
;Silent installation / uninstallation by default. You don't need any installation switches for example "/S"
SilentInstall silent
SilentUnInstall silent
;Name of the Installation section
Section "Installation"
;Select the files you want to include to your installation (Local path = Where the files are in your hard disk)
SetOutPath "$INSTDIR"
File "C:\S&M\S&M.exe"
File "C:\S&M\README.txt"
File "C:\S&M\DLL\Core2.bin"
File "C:\S&M\DLL\INPORT32.DLL"
File "C:\S&M\DLL\IO.DLL"
;We need to add this, if we want to include the uninstaller.
WriteUninstaller "S&M-uninst.exe"
;Here we write the needed registry information, so we can remove the program from the Add / Remove Control Panel applet.
WriteRegStr HKLM "${REG_UNINSTALL}" "DisplayName" "Add/Remove Example"
WriteRegStr HKLM "${REG_UNINSTALL}" "DisplayIcon" "$INSTDIR\S&M-uninst.exe"
WriteRegStr HKLM "${REG_UNINSTALL}" "DisplayVersion" "1.8.1 beta"
WriteRegStr HKLM "${REG_UNINSTALL}" "Publisher" "S&M - Stress test"
WriteRegStr HKLM "${REG_UNINSTALL}" "InstallSource" "$EXEDIR\"
;Under WinXP this creates two separate buttons: "Modify" and "Remove".
;"Modify" will run installer and "Remove" will run uninstaller.
WriteRegDWord HKLM "${REG_UNINSTALL}" "NoModify" 0
WriteRegDWord HKLM "${REG_UNINSTALL}" "NoRepair" 0
WriteRegStr HKLM "${REG_UNINSTALL}" "UninstallString" \
'"$INSTDIR\S&M-uninst.exe"'
WriteRegStr HKLM "${REG_UNINSTALL}" "ModifyPath" '"$EXEDIR\${InstFile}"'
;Here we can specify the shortcuts to create
;Creates a new group in Start Menu / Programs group called S&M
CreateDirectory "$SMPROGRAMS\S&M"
;Then we create shortcuts for uninstall and the program file.
CreateShortCut "$SMPROGRAMS\S&M\S&M.lnk" "$INSTDIR\S&M.exe"
SectionEnd
;Uninstallation Section - Here we specify, what we need to remove
Section "Uninstall"
;Deletes all the files
Delete "$INSTDIR\*.*"
RMDir "$INSTDIR"
Delete "$INSTDIR\DLL\*.*"
RMDir "$INSTDIR\DLL"
;Remove the links
Delete "$SMPROGRAMS\S&M\*.*"
RMDir "$SMPROGRAMS\S&M"
SectionEnd
nsis1.JPG (23.18K)
nsis2.JPG (14.71K)
addon.JPG (47.03K)
This post has been edited by geezery: 09 June 2007 - 05:46 AM
Posted 09 June 2007 - 05:13 AM
Posted 09 June 2007 - 05:48 AM
This post has been edited by geezery: 09 June 2007 - 10:17 AM
Posted 09 June 2007 - 09:37 AM
Quote