Hi akyprian,
How about an installer for WinASM. I suggest using NSIS v2.0 (www.nsis.sf.net). The installer used by Winamp !

This is an excellent installer, to say the least. Any ASM coder would find it very easy to learn !

I will post a sample script shortly !
Posted on 2004-04-17 05:08:58 by shantanu_gadgil
URL should be:
http://nsis.sf.net/
Posted on 2004-04-17 05:12:12 by shantanu_gadgil
Shantanu,

WinASM is distributed as a zip archive and that should be suitable for asm coders. Why to complicate everything with installers?
Posted on 2004-04-17 05:31:05 by Vortex
Hi akyprian, I'm back.

Here is a sample script for WinASM (Yippee!!!)

Things you will need:
1. NSIS v2.0 installed !!! (duh !)

TO AVOID ANY CONFUSION (for others :) ):
*) NSIS will be needed by *ONLY* the person who is building the installer (akyrian :) in this case).
*) We as WinASM users will only have to download the "WinASM_setup.exe" file.

How to build the installer. (Instructions for akyprian :) )
1. Extract the WinASM ZIP file to a folder, say .\WinASM.
So the WinASM.exe file will be -> .\WinASM\WinASM.EXE ! Just to be clear !!! :)

2. Keep the installation script in the current directory.
3. Right-click the .nsi file and choose "Compile NSIS Script"

If there are any path errors (shouldn't be), the compiler will stop and tell you !

This installer is very good (!), no nefarious activities related to the registry or anything like that. For the "extra paranoid", they can go through the source code (its OPEN SOURCE)

The installer will *NOT* write any reg entries (for now).

I have kept the *PROBABLE* reg entries commented for now.
They are only the ones in the Add/Remove Programs section of windows.

I have *PURPOSELY* kept the registry entries(commented) which you *MIGHT* :) want to write to the registry for uninstallation purposes !

The installer *WILL* write a file UNINST.EXE to the directory C:\MASM32 which will take care of deleting the "Startmenu shortcuts", "Quicklaunch shortcut" and the "Desktop shorcut".

If you DO NOT want the uninstaller at all, please comment the line:
WriteUninstaller "$INSTDIR\${UNINST_EXE}"

No need to comment the "Uninstaller" section at the end of the file. It will be ignored when the "WriteUnistaller" instruction is not found !!!

I have tried to simplify the script by declaring a few variables at the top, which should be helpful in making minor changes a bit simpler. The variables thing is not to throw off a newcomer, its a skeleton of sorts which I have ready, that's all.
If you want a WinASM specific script, I can do that !

If you want any more shorcuts to be created, say in the Startmenu, add them in the "Starmenu shortcuts" section. If there is any problem, I'll try and help.

If you *DO* use the make the reg entries, you will need the "Uninstall" section to remove them; see the "DeleteRegKey" instruction at the end of the "Uninstall" section.

A few instructions like "Icon", "UninstallIcon" are just the visual part which you might want later !

Many things can be done, say a splash screen ! (Many is an understatement !!!)

The installer uses the old style default interface (small and functional :) !).
It can also be made to use a "modern" interface. For now I have kept the script simple ! (I can help to complicate ;) it later.)

P.S.
I am NOT on the NSIS team. I am just a big fan of NSIS.

Sounds like I am marketing NSIS ?!?!? Why, yes, I am, its great !!! :) :)

:)
I also have used others nice installers like Innosetup, but the final EXE overhead for Innosetup is more, so I prefer NSIS.
:) For anyone who is particular fond of Innosetup :), please understand that I am not trying to do negative publicity of Innosetup. I *DO USE* Innosetup for really large installers where spanning is required, that's all.

:) The P.S. is just to ensure that this thread does not continue into a "this installer better, that installer far better" kind of debate.
Posted on 2004-04-17 05:59:18 by shantanu_gadgil
I was planning on creating a new (Inno) installer this next week: would have started sooner, but wanted a stable WinAsm build (3.0.1.1). But if someone else wants to create periodic installer updates, please do! :)
Posted on 2004-04-17 10:19:04 by Masmer
Hi shantanu_gadgil, Vortex, Masmer

1.Thanks very much shantanu_gadgil for your interest. Yes, I'd like an installer (Vortex: in addition to the zip archive)
2.Please shantanu_gadgil/Masmer agree who will make it. When you are finished please let me know.

Regards,

akyprian
Posted on 2004-04-17 16:23:50 by akyprian
The installer I was thinking of would be there for every build as it would appear. (ZIP and installer both, that is)

Obviously, download could be from the website.

Many of the addins could also be included in the default installer download.
OR
separate installers for the addins ?!?! :(

Does the sample script that I have posted help ?
Posted on 2004-04-18 02:19:31 by shantanu_gadgil
Hi,


Obviously, download could be from the website.

If you want to make the installer, I can give you the ftp login details to upload it.

I do not wish the Add-Ins to be included in the Installer, please.


Regards,

akyprian
Posted on 2004-04-18 08:09:34 by akyprian
;x file was to big. akyprian i have e-mailed you the file instead ~HeXeN
Posted on 2004-04-19 01:03:52 by HeXeN
;x
Posted on 2004-04-19 01:23:44 by HeXeN
Very nice HeXeN, thanks :alright:

One request before I upload it to the site though:

Please include the winasm.ini file as well. I would be greatful if the files & paths are filled according to where the user chooses to install WinAsm Studio.

Regards,

akyprian
Posted on 2004-04-19 04:22:22 by akyprian
how would you like me to go about doing that? should i create another program to generate the .ini file that fills it all out then deletes itself? or should i just include the .ini file that came with the original zip file or should i just make it so it can only be installed into a certain directory with everything setup already?
Posted on 2004-04-19 12:17:22 by HeXeN
Hi :)
My 0.02: make the installer prompt the user for MASM's folder, and write the INI yourself based on those settings. That way the user wouldn't have to setup WinAsm's folder settings after installing. However, I don't remember if Inno would let you do it... perhaps NSIS is the best choice.

@akyprian:
Why not including the addins, and other useful packages like masm32 itself, in the installer? (with the all the author's permission, of course). This and the ability to auto set the folders would be the best, if not only, reasons to have an installer instead of a ZIP file.
Posted on 2004-04-19 12:35:22 by QvasiModo
does anyone know what i should do about this it doesn't like the blank spots in the ini file ;x
Posted on 2004-04-19 13:12:23 by HeXeN
For whatever reason, I can no longer post attachments, access HTML controls or access the "quick smilies" feature of the board.

When (if) I locate the last ISS script I used, I'll make it available briefly via the WinAsm website (or I could email it to you). You shouldn't have to include blank lines when using Inno to adjust the winasm.ini file. I just setup the installer to update the specific lines that needed to be adjusted for path. All other lines can use the default values of the installed winasm.ini file. Are you trying to recreate the entire winasm.ini file via Inno?
Posted on 2004-04-19 13:32:53 by Masmer
yes, that's what i was trying to do. i removed all the blank lines and this is what i got after it was installed. is that acceptable? if it is the installer is compiled and ready to go if not what should i do next?



ShowOutOnSuccess=0
InitDir=C:\Program Files\WinAsm Studio\
OnMinimizeToSysTray=0
ShowSplash=0
OnStartUp=1
AutoSave=1
TreeBackColor=0x00ffffff
TreeTextColor=0x00ff8000
TreeLineColor=0x00004000
Placement=2C0000000200000003000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC50000000D01000075020000B402000021
OpenChildrenMaximized=0
AutoToolAndOptions=1

BinaryPath=C:\Program Files\WinAsm Studio\Bin
IncludePath=C:\Program Files\WinAsm Studio\Include
LibraryPath=C:\Program Files\WinAsm Studio\Lib
KeyFile=C:\Program Files\WinAsm Studio\KeyFiles\MASM.vas
APIFunctionsFile=C:\Program Files\WinAsm Studio\Api\MasmApiCallLt.vaa
APIStructuresFile=C:\Program Files\WinAsm Studio\API\MasmApiStruct.vaa
APIConstantsFile=C:\Program Files\WinAsm Studio\API\MasmApiConst.vaa
HelpFile=C:\Program Files\WinAsm Studio\Help\Win32.hlp

EditorFontName=Courier New
EditorFontSize=12
EditorFontCharset=161
LineNrFontName=Courier New
LineNrFontSize=12
BackColor=0x00ffffff
TextColor=0x00000000
SelBackColor=0x00804000
SelTextColor=0x00ffffff
CommentColor=0x00008000
StringColor=0x00a00000
OperatorColor=0x00ff8000
HiliteColor1=0x000000c0
HiliteColor2=0x0080ff80
HiliteColor3=0x00c08000
SelBarBackColor=0x00c08000
SelBarPen=0x00808080
LineNrColor=0x00ffffff
TabToSpaces=1
TabSize=4
AutoIndent=1
LineNrWidth=38
AutoLineNrWidth=1
Ret=2
EndP=0
NumberColor=0x00808080

ActiveDock=1

Visible=1
DockedTo=2
TitleStyle=1
NoDockLeft=638
NoDockTop=50
NoDockWidth=163
NoDockHeight=566
DockTopHeight=204
DockBottomHeight=175
DockLeftWidth=177
DockRightWidth=160

Visible=0
DockedTo=4
TitleStyle=1
NoDockLeft=71
NoDockTop=351
NoDockWidth=699
NoDockHeight=292
DockTopHeight=157
DockBottomHeight=201
DockLeftWidth=200
DockRightWidth=259

Visible=0
DockedTo=0
TitleStyle=0
NoDockLeft=150
NoDockTop=4294967284
NoDockWidth=165
NoDockHeight=178
DockTopHeight=77
DockBottomHeight=80
DockLeftWidth=66
DockRightWidth=66

Visible=0
DockedTo=0
TitleStyle=0
NoDockLeft=415
NoDockTop=7
NoDockWidth=171
NoDockHeight=113
DockTopHeight=42
DockBottomHeight=42
DockLeftWidth=28
DockRightWidth=27

1=&Windows Calculator,C:\WINDOWS\calc.exe
2=NotePad,"C:\Windows\NotePad.exe"
3=-
4=Command,C:\WINDOWS\command.com
5=
6=
7=
8=
9=
10=
11=
12=
13=
14=
15=
16=
17=
18=
19=
20=

ExtResEdit=C:\Program Files\WinAsm Studio\ResEd\Rs32.exe
ExtDebugger=C:\OllyDbg\OLLYDBG.EXE
LaunchExeOnGoAll=1
UseQuotes=0
=
Posted on 2004-04-19 13:59:18 by HeXeN
~HeXeN
Posted on 2004-04-19 14:02:09 by HeXeN
I can't find a more recent script, but here is an older version you can look at for how I addressed the winasm.ini file.



[_ISTool]
EnableISX=false

[Dirs]
Name: {app}\AddIns
Name: {app}\API
Name: {app}\Inc
Name: {app}\KeyFiles
Name: {app}\Samples
Name: {app}\Templates
Name: {app}\Setup
Name: {app}\Help
Name: {app}\Tools
Name: {app}\Help\win32

[Files]
Source: AddIns\AddInOne.dll; DestDir: {app}\AddIns\
Source: AddIns\ClientClr.dll; DestDir: {app}\AddIns\
Source: AddIns\XWindows.dll; DestDir: {app}\AddIns\
Source: API\MasmApiCall.vaa; DestDir: {app}\API\
Source: API\MasmApiCallLt.vaa; DestDir: {app}\API\
Source: API\MasmApiConst.vaa; DestDir: {app}\API\
Source: API\MasmApiStruct.vaa; DestDir: {app}\API\
Source: Help\winasm.chm; DestDir: {app}\Help\
Source: Inc\WAAddIn.inc; DestDir: {app}\Inc\
Source: KeyFiles\MASM.vas; DestDir: {app}\KeyFiles\
Source: Samples\AddInOne\AddIn.asm; DestDir: {app}\Samples\AddInOne
Source: Samples\AddInOne\AddIn.def; DestDir: {app}\Samples\AddInOne
Source: Samples\AddInOne\AddIn.inc; DestDir: {app}\Samples\AddInOne
Source: Samples\AddInOne\AddIn.wap; DestDir: {app}\Samples\AddInOne
Source: Samples\ClientClrAddIn\AddIn.asm; DestDir: {app}\Samples\ClientClrAddIn
Source: Samples\ClientClrAddIn\AddIn.def; DestDir: {app}\Samples\ClientClrAddIn
Source: Samples\ClientClrAddIn\AddIn.inc; DestDir: {app}\Samples\ClientClrAddIn
Source: Samples\ClientClrAddIn\ClientClr.wap; DestDir: {app}\Samples\ClientClrAddIn
Source: Samples\Console\Console.Asm; DestDir: {app}\Samples\Console
Source: Samples\Console\Console.Inc; DestDir: {app}\Samples\Console
Source: Samples\Console\Console.wap; DestDir: {app}\Samples\Console
Source: Samples\Dialog\DIALOG.ASM; DestDir: {app}\Samples\Dialog
Source: Samples\Dialog\Dialog.wap; DestDir: {app}\Samples\Dialog
Source: Samples\Dialog\RSRC.RC; DestDir: {app}\Samples\Dialog
Source: Samples\DLL\1\SKELETON.DLL; DestDir: {app}\Samples\DLL\1
Source: Samples\DLL\1\SKELETON.LIB; DestDir: {app}\Samples\DLL\1
Source: Samples\DLL\1\USEDLL.ASM; DestDir: {app}\Samples\DLL\1
Source: Samples\DLL\1\Usedll.exe; DestDir: {app}\Samples\DLL\1
Source: Samples\DLL\1\UseDLL.wap; DestDir: {app}\Samples\DLL\1
Source: Samples\DLL\2\SKELETON.DLL; DestDir: {app}\Samples\DLL\2
Source: Samples\DLL\2\USEDLL.ASM; DestDir: {app}\Samples\DLL\2
Source: Samples\DLL\2\USEDLL.EXE; DestDir: {app}\Samples\DLL\2
Source: Samples\DLL\2\UseDLL.wap; DestDir: {app}\Samples\DLL\2
Source: Samples\DLL\BUILD.BAT; DestDir: {app}\Samples\DLL
Source: Samples\DLL\SKELETON.ASM; DestDir: {app}\Samples\DLL
Source: Samples\DLL\SKELETON.DEF; DestDir: {app}\Samples\DLL
Source: Samples\DLL\skeleton.dll; DestDir: {app}\Samples\DLL
Source: Samples\DLL\SKELETON.EXP; DestDir: {app}\Samples\DLL
Source: Samples\DLL\SKELETON.LIB; DestDir: {app}\Samples\DLL
Source: Samples\DLL\Skeleton.wap; DestDir: {app}\Samples\DLL
Source: Samples\MELTAddIn\AddIn.asm; DestDir: {app}\Samples\MELTAddIn
Source: Samples\MELTAddIn\AddIn.def; DestDir: {app}\Samples\MELTAddIn
Source: Samples\MELTAddIn\AddIn.inc; DestDir: {app}\Samples\MELTAddIn
Source: Samples\MELTAddIn\AddIn.wap; DestDir: {app}\Samples\MELTAddIn
Source: Samples\SDI\MainWindow.asm; DestDir: {app}\Samples\SDI
Source: Samples\SDI\RSRC.RC; DestDir: {app}\Samples\SDI
Source: Samples\SDI\SDI.inc; DestDir: {app}\Samples\SDI
Source: Samples\SDI\SDI.wap; DestDir: {app}\Samples\SDI
Source: Samples\XWindowsAddIn\AddIn.asm; DestDir: {app}\Samples\XWindowsAddIn
Source: Samples\XWindowsAddIn\AddIn.def; DestDir: {app}\Samples\XWindowsAddIn
Source: Samples\XWindowsAddIn\AddIn.inc; DestDir: {app}\Samples\XWindowsAddIn
Source: Samples\XWindowsAddIn\WAAddIn.inc; DestDir: {app}\Samples\XWindowsAddIn
Source: Samples\XWindowsAddIn\XWindows.wap; DestDir: {app}\Samples\XWindowsAddIn
Source: Templates\Bare Bone\AddIn\AddIn.asm; DestDir: {app}\Templates\Bare Bone\AddIn
Source: Templates\Bare Bone\AddIn\AddIn.def; DestDir: {app}\Templates\Bare Bone\AddIn
Source: Templates\Bare Bone\AddIn\AddIn.inc; DestDir: {app}\Templates\Bare Bone\AddIn
Source: Templates\Bare Bone\AddIn\AddIn.wap; DestDir: {app}\Templates\Bare Bone\AddIn
Source: Templates\Bare Bone\Console\Console.Asm; DestDir: {app}\Templates\Bare Bone\Console
Source: Templates\Bare Bone\Console\Console.Inc; DestDir: {app}\Templates\Bare Bone\Console
Source: Templates\Bare Bone\Console\Console.wap; DestDir: {app}\Templates\Bare Bone\Console
Source: Templates\Bare Bone\DLL\DLL.wap; DestDir: {app}\Templates\Bare Bone\DLL
Source: Templates\Bare Bone\DLL\SKELETON.ASM; DestDir: {app}\Templates\Bare Bone\DLL
Source: Templates\Bare Bone\DLL\SKELETON.DEF; DestDir: {app}\Templates\Bare Bone\DLL
Source: Templates\Bare Bone\EXE\EXE.wap; DestDir: {app}\Templates\Bare Bone\EXE
Source: Templates\Bare Bone\EXE\Main.asm; DestDir: {app}\Templates\Bare Bone\EXE
Source: Templates\Dialog\Demo\Demo.wap; DestDir: {app}\Templates\Dialog\Demo
Source: Templates\Dialog\Demo\DIALOG.ASM; DestDir: {app}\Templates\Dialog\Demo
Source: Templates\Dialog\Demo\RSRC.RC; DestDir: {app}\Templates\Dialog\Demo
Source: Templates\Executable\MDI\IDB_TOOLBAR.bmp; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\MDI.asm; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\MDI.inc; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\MDI.rc; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\MDI.wap; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\Misc.asm; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\MDI\resource.h; DestDir: {app}\Templates\Executable\MDI
Source: Templates\Executable\SDI\MainWindow.asm; DestDir: {app}\Templates\Executable\SDI
Source: Templates\Executable\SDI\RSRC.RC; DestDir: {app}\Templates\Executable\SDI
Source: Templates\Executable\SDI\SDI.inc; DestDir: {app}\Templates\Executable\SDI
Source: Templates\Executable\SDI\SDI.wap; DestDir: {app}\Templates\Executable\SDI
Source: CodeHi.dll; DestDir: {app}
Source: WinAsm.exe; DestDir: {app}
Source: WinAsm.ini; DestDir: {app}
Source: Setup\help.ico; DestDir: {app}\Setup\
Source: Setup\link.ico; DestDir: {app}\Setup\
Source: Help\Links\Download Masm32.url; DestDir: {app}\Help\Links
Source: Help\Links\Download OllyDbg.url; DestDir: {app}\Help\Links
Source: Help\Links\WinAsm Website.url; DestDir: {app}\Help\Links
Source: Help\winasm.chm; DestDir: {app}\Help\
Source: ..\addproc-addmacro_addins\AddMacro.dll; DestDir: {app}\AddIns\
Source: ..\addproc-addmacro_addins\AddProc.dll; DestDir: {app}\AddIns\
Source: ..\addproc-addmacro_addins\Readme.txt; DestDir: {app}\Help; DestName: AddProc & AddMacro Addins ReadMe.txt
Source: ..\faaddin\faaddin.dll; DestDir: {app}\AddIns\
Source: ..\meltwa\CVTRES.DLL; DestDir: {app}\AddIns\
Source: ..\meltwa\LINKLIB.DLL; DestDir: {app}\AddIns\
Source: ..\meltwa\meltwa.dll; DestDir: {app}\AddIns\
Source: ..\meltwa\ML.DLL; DestDir: {app}\AddIns\
Source: ..\meltwa\NMAKE.DLL; DestDir: {app}\AddIns\
Source: ..\meltwa\RCC.DLL; DestDir: {app}\AddIns\
Source: ..\meltwa\RCW.DLL; DestDir: {app}\AddIns\
Source: ..\upxaddinwa\UPXaddinWA.Dll; DestDir: {app}\AddIns\
Source: ..\upxaddinwa\UPXaddinWA.txt; DestDir: {app}\Help; DestName: UPX Addin ReadMe.txt
Source: ..\winerr105f\readme_winerr.txt; DestDir: {app}\Help; DestName: WinErr ReadMe.txt
Source: ..\winerr105f\WinErr.exe; DestDir: {app}\Tools
Source: ..\winerr105f\WinErrWA.Dll; DestDir: {app}\AddIns
Source: Help\Links\Download UPX (Win32 console).url; DestDir: {app}\Help\Links
Source: Tools\RS32\CTL3D32.DL_; DestDir: {app}\Tools\RS32
Source: Tools\RS32\MFCO30.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\MFCOLEUI.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\readme.txt; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RS32.EXE; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RS32.GID; DestDir: {app}\Tools\RS32; Attribs: hidden
Source: Tools\RS32\RS32.HLP; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSACC32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSACCEL.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSBIT32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSBITMAP.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSCOMM.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSCOMM32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSCUR32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSCURSOR.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSDIALOG.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSDLG32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSFONT.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSFONT32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSGR32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSGRCOMM.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSHEX.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSHEX32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSICON.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSICON32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSID32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSIDMGR.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSINTF.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSINTF32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSMENU.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSMENU32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSMFC.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSMFCO.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSRCC.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSRCC32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSSTR32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSSTRING.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSTUDIO.EXE; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSUNDO.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSUNDO32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSUTIL.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSUTIL32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSVER.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\RSVER32.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\SMFC30.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\SMFCD30.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\SMFCN30.DLL; DestDir: {app}\Tools\RS32
Source: Tools\RS32\SMFCO30.DLL; DestDir: {app}\Tools\RS32
Source: Setup\help2.ico; DestDir: {app}\Setup\
Source: ..\win32\WIN32.CNT; DestDir: {app}\Help\win32
Source: ..\win32\WIN32.HLP; DestDir: {app}\Help\win32
Source: ..\win32\WIN32.KWF; DestDir: {app}\Help\win32
Source: ..\Iczelion.chm; DestDir: {app}\Help\
Source: AddIns\DockAddIn.dll; DestDir: {app}\AddIns\
Source: Samples\DockAddIn\AddIn.wap; DestDir: {app}\Samples\DockAddIn\
Source: Samples\DockAddIn\AddIn.inc; DestDir: {app}\Samples\DockAddIn\
Source: Samples\DockAddIn\AddIn.def; DestDir: {app}\Samples\DockAddIn\
Source: Samples\DockAddIn\AddIn.asm; DestDir: {app}\Samples\DockAddIn\
Source: Help\Links\Win32ASM Community messageboard.url; DestDir: {app}\Help\Links

[Setup]
OutputDir=C:\MyDocs\aproj\Installers
AppName=WinAsm Package
AppID={1144F85C-9C52-4F45-A023-7FDCD4897625}
AppVerName=WinAsm 2.0.0.2
DefaultDirName=C:\WinAsm
DefaultGroupName=WinAsm
Compression=bzip
AppVersion=2.0.0.2
UninstallFilesDir={app}\Setup
OutputBaseFilename=WinAsmFullSetup2002
AppCopyright=? 2003

AppPublisher=Antonis Kyprianou & Masmer
AppPublisherURL=http://winasm.how.to
AppSupportURL=http://winasm.how.to
AppUpdatesURL=http://winasm.how.to/files/winasm
BackColor=clNavy
BackColor2=clWhite
SourceDir=C:\MyDocs\My Webs\winasm32\files\WinAsm
UninstallDisplayName=Uninstall
InfoBeforeFile=C:\MyDocs\My Webs\winasm32\files\changes.txt
AlwaysUsePersonalGroup=true

[Icons]
Name: {group}\Extras\Resource Studio; Filename: {app}\Tools\RS32\RSTUDIO.EXE; WorkingDir: {app}\Tools\RS32; IconFilename: {app}\Tools\RS32\RSTUDIO.EXE; IconIndex: 0
Name: {group}\Extras\Resource Studio Help; Filename: {app}\Tools\RS32\RS32.HLP; WorkingDir: {app}\Tools\RS32; IconFilename: {app}\Setup\help2.ico; IconIndex: 0
Name: {group}\Extras\Win32 Programmer's Reference; Filename: {app}\Help\win32\WIN32.HLP; WorkingDir: {app}\Help\win32; IconFilename: {app}\Setup\help2.ico; IconIndex: 0
Name: {group}\Extras\Iczelion's Tutorial Series; Filename: {app}\Help\Iczelion.chm; WorkingDir: {app}\Help; IconFilename: {app}\Setup\help.ico; IconIndex: 0
Name: {group}\Extras\WinErr; Filename: {app}\Tools\WinErr.exe; WorkingDir: {app}\Tools; IconFilename: {app}\Tools\WinErr.exe; IconIndex: 0
Name: {group}\Links\WinAsm Website; Filename: {app}\Help\Links\WinAsm Website.url; WorkingDir: {app}\Help\Links; IconFilename: {app}\Setup\link.ico; IconIndex: 0
Name: {group}\Links\Download Masm32; Filename: {app}\Help\Links\Download Masm32.url; WorkingDir: {app}\Help\Links; IconFilename: {app}\Setup\link.ico; IconIndex: 0
Name: {group}\Links\Download OllyDbg; Filename: {app}\Help\Links\Download OllyDbg.url; WorkingDir: {app}\Help\Links; IconFilename: {app}\Setup\link.ico; IconIndex: 0
Name: {group}\Links\Download UPX (Win32 console); Filename: {app}\Help\Links\Download UPX (Win32 console).url; WorkingDir: {app}\Help\Links; IconFilename: {app}\Setup\link.ico; IconIndex: 0
Name: {group}\ReadMe\AddProc & AddMacro Addins; Filename: {app}\Help\AddProc & AddMacro Addins ReadMe.txt; WorkingDir: {app}\Help; IconFilename: {app}\Help\AddProc & AddMacro Addins ReadMe.txt
Name: {group}\ReadMe\UPX Addin; Filename: {app}\Help\UPX Addin ReadMe.txt; WorkingDir: {app}\Help; IconFilename: {app}\Help\UPX Addin ReadMe.txt
Name: {group}\ReadMe\WinErr; Filename: {app}\Help\WinErr ReadMe.txt; WorkingDir: {app}\Help; IconFilename: {app}\Help\WinErr ReadMe.txt
Name: {group}\WinAsm; Filename: {app}\WinAsm.exe; WorkingDir: {app}; IconFilename: {app}\WinAsm.exe; IconIndex: 0
Name: {group}\WinAsm Help; Filename: {app}\Help\winasm.chm; WorkingDir: {app}\Help; IconFilename: {app}\Setup\help.ico; Flags: runmaximized; IconIndex: 0
Name: {group}\Uninstall WinAsm; Filename: {app}\Setup\{uninstallexe}; WorkingDir: {app}\Setup
Name: {group}\Uninstall WinAsm; Filename: {uninstallexe}
Name: {group}\Links\Win32ASM Community; Filename: {app}\Help\Links\Win32ASM Community messageboard.url; WorkingDir: {app}; IconFilename: {app}\Setup\link.ico; IconIndex: 0

[Registry]

[INI]
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: BinaryPath; String: C:\Masm32\Bin
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: IncludePath; String: C:\Masm32\Include
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: LibraryPath; String: C:\Masm32\Lib
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: KeyFile; String: {app}\KeyFiles\MASM.vas
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: APIFunctionsFile; String: {app}\API\MasmApiCall.vaa
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: APIStructuresFile; String: {app}\API\MasmApiStruct.vaa
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: APIConstantsFile; String: {app}\API\MasmApiConst.vaa
Filename: {app}\WinAsm.ini; Section: FILES&PATHS; Key: HelpFile; String: {app}\Help\Win32\Win32.hlp
Filename: {app}\WinAsm.ini; Section: GENERAL; Key: InitDir; String: {app}\
Filename: {app}\WinAsm.ini; Section: TOOLS; Key: 5; String: DBG Help,c:\Masm32\Help\dbgwin.hlp
Filename: {app}\WinAsm.ini; Section: TOOLS; Key: 2; String: NotePad,NotePad.exe
Filename: {app}\WinAsm.ini; Section: TOOLS; Key: 4; String: Command,command.com
Filename: {app}\WinAsm.ini; Section: TOOLS; Key: 1; String: Windows Calculator,Calc.exe
Filename: {app}\WinAsm.ini; Section: MISCELLANEOUS; Key: ExtResEdit; String: {app}\Tools\RS32\RSTUDIO.EXE
Filename: {app}\WinAsm.ini; Section: MISCELLANEOUS; Key: ExtDebugger; String: {app}\Tools\OllyDbg\OLLYDBG.EXE

[Run]
Filename: {app}\WinAsm.exe; WorkingDir: {app}; Description: Launch WinAsm; Flags: nowait postinstall
Filename: {win}\hh.exe; WorkingDir: {win}; Flags: postinstall unchecked nowait; Parameters: {app}\Help\winasm.chm; Description: Launch Help File

[UninstallDelete]
Posted on 2004-04-19 16:06:55 by Masmer
Hi HeXeN,

Please include All Add-Ins (as Qvasimodo suggests). Please do not include Rs32.exe in the package.

Regards,

akyprian

PS. Thanks to Masmer for his valuable support in this matter.
Posted on 2004-04-20 02:12:14 by akyprian
akyprian, i have sent you the new installer via e-mail i believe it is the way that you want it to be. ~HeXeN

a quick question before you download the file i sent you. would you like me to set the children to open maximized or just leave it how it is? because i forgot to set the property to 1 before i sent you the installer. either way i'll send you the installer with child windows maximized and you can download whichever one you like ~HeXeN
Posted on 2004-04-20 05:31:34 by HeXeN