Skip to contentSkip to conversation

QEMU Mac OS X installer published - Need help for Win32

Qemu-devel Jean-Michel POURE 2 participants 3 messages Jul 5, 2004

lore
Share & tools
lore
#0 lore raw

Dear friends,

Just a quick note that a QEMU Mac OS X experimental installer, contributed by Pierre, is available on http://www.freeoszoo.org:

There is no garantee that this installer may work. Before downloading the installer, you must agree with the following conditions from
http://www.freeoszoo.org/agreement.txt

Installer download page:
http://www.freeoszoo.org/download.php

Also, we would like to continue with a Win32 installer. Ronald submited a NSIS package for Win32, which source is attached below.

The problem is that none of us has Windows knowledge. For example, we don't know how to install a Free compiler and go through the compilation process.

Would someone be interested in joining FreeOSZoo and producing a QEMU installer for Win32? It will be publised on FreeOSZoo before submition back to Fabrice.

Kindest regards,
Jean-Michel

************************************************************************

;NSIS Script For FFmpeg adapted for Qemu

;Title Of Your Application
Name "Qemu"
CompletedText "Qemu install completed! Enjoy your meal!"

; do a CRC check
CRCCheck On

; output file name
OutFile "QemuInstall.exe"

; license page introduction
LicenseText "You must agree to this license before installing."

; license data
LicenseData ".\COPYING"

; the default installation directory
InstallDir "$PROGRAMFILES\Qemu"

;The text to prompt the user to enter a directory
DirText "Please select the folder below"

Section "Install"
  ;Install Files
  SetOutPath $INSTDIR
  SetCompress Auto
  SetOverwrite on
  File ".\qemu.exe"
  File ".\SDL.dll"
  File ".\bios.bin"
  File ".\vgabios.bin"
  File ".\vgabios-cirrus.bin"
  File ".\linux_boot.bin"
  File ".\COPYING"
  File ".\COPYING.LIB"

  ; documentation
  SetOutPath $INSTDIR\doc
  File ".\doc\qemu-tech.html"
  File ".\doc\qemu-doc.html"

  ; Write the uninstall keys for Windows
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Qemu" "DisplayName" "Qemu (remove only)"
  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Qemu" "UninstallString" "$INSTDIR\Uninst.exe"
WriteUninstaller "Uninst.exe"
SectionEnd

Section "Shortcuts"
  ;Add Shortcuts
SectionEnd

UninstallText "This will uninstall Qemu from your system"

Section Uninstall
  ; delete files
  Delete "$INSTDIR\qemu.exe"
  Delete "$INSTDIR\SDL.dll"
  Delete "$INSTDIR\bios.bin"
  Delete "$INSTDIR\linux_boot.bin"
  Delete "$INSTDIR\vgabios-cirrus.bin"
  Delete "$INSTDIR\vgabios.bin"
  Delete "$INSTDIR\COPYING"
  Delete "$INSTDIR\COPYING.LIB"

  ; delete documentation
  Delete "$INSTDIR\doc\qemu-tech.html"
  Delete "$INSTDIR\doc\qemu-doc.html"

  RMDir /r $INSTDIR\doc

  ; delete uninstaller and unistall registry entries Delete "$INSTDIR\Uninst.exe"
  DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Qemu" DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Qemu" RMDir "$INSTDIR"
SectionEnd

#1 lore raw

Le Mon, 05 Jul 2004 02:12:09 +0200, Jean-Michel POURE a écrit :

Quoted 7 lines

Also, we would like to continue with a Win32 installer. Ronald submited a NSIS package for Win32, which source is attached below.

The problem is that none of us has Windows knowledge. For example, we don't know how to install a Free compiler and go through the compilation process.

Quoted 7 lines

Would someone be interested in joining FreeOSZoo and producing a QEMU installer for Win32? It will be publised on FreeOSZoo before submition back to Fabrice.

Kindest regards,
Jean-Michel

Hi Jean-Michel,

You don't need much windows knowledge just to do this kind of installer, you can even play with it without having windows as nsys runs well under wine :)
I've build a win32 binary from today's cvs and put the installer here
http://daimon55.free.fr/QemuInstall.exe, if you want to have a look.
Nota: I don't know if the qemu.exe even run on a plain windows, I've just tested the installer with wine.

#2 lore raw
Quoted 1 line

Hi Jean-Michel,

Dear Ronald,

Quoted 3 lines

You don't need much windows knowledge just to do this kind of installer, you can even play with it without having windows as nsys runs well under wine :)

Thank you so much! Pardon my ignorence, I was not aware that Windows installers could be crossed-compiled under GNU/Linux.

Quoted 4 lines

I've build a win32 binary from today's cvs and put the installer here
http://daimon55.free.fr/QemuInstall.exe, if you want to have a look.
Nota: I don't know if the qemu.exe even run on a plain windows, I've just tested the installer with win

You installer was published on http://www.freeoszoo.org/download.php. I am writing you privately to discuss a way to automate daily builds using a cron job.

Kindest regards,
Jean-Michel