Jump to content

Sonic

Patron
  • Posts

    1,709
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by Sonic

  1. 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
  2. SFX Installers Intel INF ------------- 1) Download last version from Intel.com 2) Extract files into a new folder 3) Repackage all in the new folder into a auto extractible archive (like winrar) and set run after uncompression : "setup.exe -OVERALL -S" VIA Hyperion Pro 5.04a ------------------------------------- 1) Download last version from Viaarena.com 2) Extract files into a new folder 3) Repackage all in the new folder into a auto extractible archive (like winrar) and set run after uncompression : "setup.exe -s" Intel INF ------------- 1) Download last version from Intel.com 2) Extract files into a new folder 3) Repackage all in the new folder into a auto extractible archive (like winrar) and set run after uncompression : "setup.exe -OVERALL -S" SiS IDE 2.04a --------------------- Cancelled since SP2. nForce ----------- Cancelled ForceWare ------------------ - Download ForceWare drivers, extract content to C:\NVIDIA (with Winrar for example) - Edit setup.iss and change in last lines BootOption to value =0 to avoid reboot. - Create a batch with these commands to install Catalyst------------- - Download Display driver only - Download Control Center in your language only - Begin the extraction of each and get folder from C:\ATi - Create a batch with these commands to install
  3. No you can't , it's hardcoded ...
  4. Strange, the %UsersProfile% variable isn't a windows variable, however %UserProfile% exist and point to your profile (eg: C:\Documents and Settings\YourLogin )
  5. The unattended mode of Windows XP's setup is just for fresh install (no os must be present already in the partition), you can't make an unattended 'reinstallation' of Windows XP. If you have an upgrade CD, I don't know if unattended setup is possible ... perhaps if the setup is launched from windows with command line ... But you must test your cd on a fresh hard disk (or partition) to view if setup can install windows xp ...
  6. hum, in fact your Windows can't install on fresh hard disk (without any os) ?
  7. When you run your cmd ? This must run in a session .. not at cmdlines.txt for example ...
  8. Perhaps the cmd exit beforce these two line, for example because another cause an error and exit without running these lines, try to insert a "pause" and echo on to look all the command and the result.
  9. /!\ Command0 (not Comman0 ) ... This allow to run multiple cmd each by each ...
  10. No ! You MUST read all step of the main guide to understand the process. http://unattended.msfn.org/
  11. I have this file too (created by nero ) ! but on desktop !
  12. I think you can try install programs in RunOnceEx section ...
  13. It's good idea but not really good implemented, during my studies I have tried programming in C++ / .NET (Visual 2k5) and they are cool features and big api ... no more problems of memory management & co. But .Net programs aren't many ... so it's annoyance for most people ... imho
  14. okay, it's pinned in my memory (hum sorry for direct translation) ! I don't know this limitation, in fact for me I always run install on runonceex
  15. yes I have the same thing ... so I reduce my source manually ...
  16. post your cmdlines.txt ...
  17. To share a new folder, use net share command, that's all ... net share TheNamedShared=C:\TheFolder I hope this is you want to do ... Goodbye.
  18. jbm's solution is good ... Re-read guide http://unattended.msfn.org/global/oemfolders.htm
  19. Try to speak english my friend Sinon regarde tes MPs you have a message.
  20. It's possible ! You must create 4 boot folders too ... and modify TxtSetup.sif of these boot folder to point to the correct directory (WINXP1 , WINXP2, ...) edit: To get more space on your support use function Optimize (exist in UltraISO & CDImageGUI), it will burn the same file one time and other are crosslinked ...
  21. Hi all ! After some thinking & testing, finally the best solution for me, it will be a silent installation of drivers after windows setup ... Is it possible ? I have tested (not complety yet) the DriversFromCD but in fact it just for unknow devices ... and a popup for confirm install the driver comes too ... If for example, I want to update SiS IDE driver doesn't work (I think) .. So if you can help/explain more, come one ps: Actually I AutoIt setup of drivers or silent install ... but the PnP mecanism of windows is great to autodetect the correct driver in a big folder with many INF files .... Thanks in advance. Goodbye.
  22. Warning again ! .NET FrameWork 2.0 isn't an update of the 1.1 version ... 1.1 is must needed to preserve compatilbity ...
  23. I think it exist a not complicated solution because, in windows xp home for example the default mode is icons (with comments under) and on windows 2003 sbs the default mode is details mode ... I think Microsoft don't import/tweaks directly the Bags key ...
  24. Yes it's reveals somes infos, but the key doesn't appear
  25. Okay for me now, sorry for any doubts on 873339 ... I was tired yestarday lool ... no more problem with hotfixes ... I don't know why my first test is failed ...
×
×
  • Create New...