Skip to content

Commit

Permalink
- - updated README-BUILD-RELEASE.txt with the new changes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2919 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 11, 2007
1 parent b096d8e commit 8efe319
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions README-BUILD-RELEASE.txt
Expand Up @@ -3,7 +3,7 @@
---------------------------------------------------------------------------


Last update 2006-10-07 Adrian Pop, adrpo@ida.liu.se
Last update 2007-09-07 Adrian Pop, adrpo@ida.liu.se

The following step-by-step guides explain how to
build the OpenModelica release .msi file on Windows
Expand All @@ -19,27 +19,24 @@ using the Microsoft Visual Studio .NET 2003
To do this you need to open MSYS terminal, go to trunk/c_runtime
say: make -f Makefile.omdev.mingw

02. Create a drive called M:
subst m: c:\OpenModelicaRelease
[to delete the drive use subst m: /d]

03. Within drive M: copy:
- unpacked trunk\Compiler\VC7\Setup\zips\mingw.tar.gz
-> to M:\MinGW
- unpacked trunk\Compiler\VC7\Setup\zips\ModelicaLib.tar.gz
-> to M:\ModelicaLibrary
- copy C:\bin\cygwin\home\adrpo\dev\OpenModelica\OMNotebook\DrModelica
-> to M:\DrModelica
- build trunk\OMShell then put all the files below:
OMShell.exe, mico2311.dll, msvcp71.dll, msvcr71.dll, QtCore4.dll, QtGui4.dll
into:
M:\OMShell\release\
- build trunk\OMNotebook then put all the files below:
OMNotebook.exe, mico2311.dll, msvcp71.dll, msvcr71.dll, QtCore4.dll, QtGui4.dll
QtNetwork4.dll, QtXml4.dll, commands.xml, modelicacolors.xml, stylesheet.xml
02. Additional needed files:
- unpack trunk\Compiler\VC7\Setup\zips\mingw.tar.gz
-> to \trunk\build\MinGW
- unpack trunk\Compiler\VC7\Setup\zips\ModelicaLib.tar.gz
-> to \turnk\build\ModelicaLibrary
- build trunk\OMShell then you will get a file:
\trunk\OMShell\Release\OMShell.exe
- build trunk\OMNotebook then you will get a file:
trunk\OMNotebook\OMNotebookQT4\Release\OMNotebook.exe
Also, you need to put these files in the directory:
trunk\OMNotebook\OMNotebookQT4\Release\
QtCore4.dll, QtGui4.dll, QtNetwork4.dll, QtXml4.dll, commands.xml, modelicacolors.xml, stylesheet.xml
OMNotebookHelp.onb, pltplot.jar (from trunk/Compiler/VC7/Setup/bin/ptplot.jar)
into:
M:\OMNotebook\release\

03. Update the version into:
- documentation
- *.onb files
- everywhere you might find it

04. Open the trunk/Compiler/VC7/omc/omc.snl

Expand All @@ -60,6 +57,12 @@ using the Microsoft Visual Studio .NET 2003

10. You get a Setup.msi into trunk\Compiler\VC7\Setup\Release

11. For Windows Vista release you have to edit the Setup.msi with Orca.exe:
http://msdn2.microsoft.com/en-us/library/Aa370557.aspx
http://download.microsoft.com/download/platformsdk/sdk/update/win98mexp/en-us/3790.0/msisdk-common.3.0.cab
Go to CustomAction Table and change the action type from 1042 to 3090.
This elevates the privileges for the custom action and allows it to run.

That's it,
Cheers,
Adrian Pop/

0 comments on commit 8efe319

Please sign in to comment.