;***************************************************************************
;* Q&A Write 1.44 Install Script                                             *
;***************************************************************************

[process]
bitmaps.pix

QAW2Copy = SetActiveCopy

AllowIntlChars

Registration

VersionSearch
TargetDrive

CreateDirectory.TemplateDir
ResetTarget.TemplateTarget

switch02 = Exists.qwini
switch03 = Exists.Checkem

#if switch03
   Backup.Saveem
   Messagebox.IniBackupNext
#else
   Backup.Original
   Messagebox.IniBackupOrig
#endif

UpdateStartup.Autoexec

DisableUtils
copy
EnableUtils

UpdateIni.Wininidocs
UpdateIni.WininiExts
UpdateIni.WininiComp
AssociateExe.txt
AssociateExe.doc
AssociateExe.rtf
AssociateExe.qw
AssociateExe.qwt

groups

switch05 = IsInstallShell

#if switch05
   MessageBox.ByeShell
#else
   MessageBox.ByeInstall
#endif

exit

end


;***************************************************************************
;* Disks                                                                   *
;***************************************************************************

[disks]
1=A:\, "Q&A Write, Disk #1"
2=A:\, "Q&A Write, Disk #2"


;***************************************************************************
;* Copy sections                                                           *
;***************************************************************************

[QAW2Copy]
#copy.BaseFiles,   0:, "Q&A Write - 1738K",                        1738
#copy.mail,        0:, "Electronic Mail Enabled - 9K",             9 
#copy.Seperate,    0:, "--------",                                 0
#copy.WFW,         0:, "Text Filter, MS Word For Windows - 297K",  297
#copy.Seperate,    0:, "--------",                                 0
#copy.MSP,         0:, "Graphics Filter, MS Paint - 4K",           4
#copy.PCX,         0:, "Graphics Filter, PCX - 13K",               13
#copy.Meta,        0:, "Graphics Filter, Windows Metafile - 4K",   4
#copy.WPG,         0:, "Graphics Filter, WordPerfect - 28K",       28
#copy.HPGL,        0:, "Graphics Filter, HPGL - 22K",              22
#copy.PIC,         0:, "Graphics Filter, PIC - 11K",               11
#copy.TIFF,        0:, "Graphics Filter, TIFF - 18K",              18
#copy.PICT,        0:, "Graphics Filter, PICT - 39K",              39
#copy.Seperate,    0:, "--------",                                 0
#copy.thesaur,     0:, "Thesaurus Files - 362K",                   362
#copy.help,        0:, "Online Help Files - 623K",                 623
#copy.Seperate,    0:, "--------",                                 0
#copy.QAMM,        0:, "Mail Merge, Q&A - 98K",                    98
#copy.ASCIIMM,     0:, "Mail Merge, ASCII - 86K",                  86
#copy.DBASEMM,     0:, "Mail Merge, dBASE - 23K",                  23
#copy.PDMM,        0:, "Mail Merge, Paradox - 32K",                32
#copy.Seperate,    0:, "--------",                                 0
#copy.QAWDOS,      0:, "Text Filter, Q&A Write (DOS) - 95K",       95
#copy.WPFCT,       0:, "Text Filter, WordPerfect - 143K",          143
;#copy.JWFLT,       0:, "Text Filter, JustWrite - 195K",            195
#copy.Seperate,    0:, "--------",                                 0
#copy.Templates,   0:, "Ready-to-use Templates - 148K",            148
#copy.Seperate,    0:, "--------",                                 0
#copy.UserDict,    0:, "User Dictionary, Library & Toolbars - 68K",68
;                                                                -----

[copy.BaseFiles]
;1:install.exe,     "Symantec Install Program"
;1:instbin.exe,     "Symantec Install Program"
;1:siwdll.dll,      "Symantec Install DLL"
;1:uninstal.inf,    "Symantec Uninstall Script"
;1:ver.dll,         "Windows 3.1 Shared DLL"
;1:shell.dll,       "Windows 3.1 Shared DLL"
1:autorec.dll,     "Automatic File Conversion"
1:hyphen.dll,      "Hyphenation Engine"
1:qw_bman.dll,     "Q&A Write Program File"
1:spell.dll,       "Spelling Dictionary"
1:qw_gr.ell,       "Q&A Write Graphics Editor"
1:qw_ole.ell,      "Q&A Write OLE Engine"
1:qw_tbl.ell,      "Q&A Write Table Editor"
1:qw_text.ell,     "Q&A Write Text Editor"
1:qawrite.exe,     "Q&A Write Main Program"
1:ascii.flt,       "ASCII Filter"
1:rtf.flt,         "Rich Text Format Filter"
1:fffont.fon,      "Symantec All-Purpose Font"
1:american.hyf,    "Hyphenation Dictionary"
1:qawrite.ini,     "Q&A Write Ini File",   WINDOWS, switch02
1:useng.ndx,       "Spelling Dictionary"
1:readme.qw,       "Q&A Write Readme File"

[copy.mail]
1:symmail.dll,       "Symantec Mail DLL"

[copy.graphflt]
1:meta.gft,        "Windows Metafile Filter"
1:pcx.gft,         "PCX Filter"
1:msp.gft,         "MS Paint Filter"

1:w4w19f.dll,      "File Conversion DLL"
1:w4w19t.dll,      "File Conversion DLL"
1:w4w44f.dll,      "MS Word for Windows Filter"
1:w4w44t.dll,      "MS Word for Windows Filter"
1:ww44-0.flt,      "MS Word for Windows Filter"
1:ww44-1.flt,      "MS Word for Windows Filter"

2:tiff.gft,        "TIFF Filter"
2:wpg.gft,         "WordPerfect Graphics Filter"
2:hpgl.gft,        "HPGL Filter"
2:pic.gft,         "Lotus PIC Filter"
2:pict.gft,        "MAC PICT Filter"
2:w4w23f.dll,      "Q&A Write DOS Filter"
2:w4w23t.dll,      "Q&A Write DOS Filter"
2:ww23-0.flt,      "Q&A Write DOS Filter"
2:ww23-1.flt,      "Q&A Write DOS Filter"
2:w4w07f.dll,      "WordPerfect Filter"
2:w4w07t.dll,      "WordPerfect Filter"
2:ww07-0.flt,      "WordPerfect Filter"
2:ww07-1.flt,      "WordPerfect Filter"
;2:jwflt.flt,       "JustWrite Filter"

[copy.mailmerg]
2:mmcom.dll,       "Mail Merge Engine"
2:mmascii.mft,     "ASCII Filter"
2:mmdb3.mft,       "dBASE III/IV Filter"
2:mmpd3.mft,       "Paradox 3.x Filter"
2:mmqa3.mft,       "Q&A 3.0 Filter"
2:mmqa4.mft,       "Q&A 4.0 Filter"

[copy.thesaur]
2:wf.dll,          "Thesaurus DLL"
2:udefs.mth,       "Thesaurus/definitions"
2:uthes.mth,       "Thesaurus/definitions"

[copy.help]
2:qawrite.hlp,     "Q&A Write Help File"

[copy.WFW]
1:w4w19f.dll,      "File Conversion DLL"
1:w4w19t.dll,      "File Conversion DLL"
1:w4w44f.dll,      "MS Word for Windows Filter"
1:w4w44t.dll,      "MS Word for Windows Filter"
1:ww44-0.flt,      "MS Word for Windows Filter"
1:ww44-1.flt,      "MS Word for Windows Filter"

[copy.MSP]
1:msp.gft,         "MS Paint Filter"

[copy.PCX]
1:pcx.gft,         "PCX Filter"

[copy.Meta]
1:meta.gft,        "Windows Metafile Filter"

[copy.WPG]
2:wpg.gft,         "WordPerfect Graphics Filter"

[copy.HPGL]
2:hpgl.gft,        "HPGL Filter"

[copy.PIC]
2:pic.gft,         "Lotus PIC Filter"

[copy.TIFF]
2:tiff.gft,        "TIFF Filter"

[copy.PICT]
2:pict.gft,        "MAC PICT Filter"

[copy.WPFCT]
2:w4w07f.dll,      "WordPerfect Filter"
2:w4w07t.dll,      "WordPerfect Filter"
2:ww07-0.flt,      "WordPerfect Filter"
2:ww07-1.flt,      "WordPerfect Filter"

[copy.QAWDOS]
2:w4w23f.dll,      "Q&A Write DOS Filter"
2:w4w23t.dll,      "Q&A Write DOS Filter"
2:ww23-0.flt,      "Q&A Write DOS Filter"
2:ww23-1.flt,      "Q&A Write DOS Filter"

[copy.ASCIIMM]
2:mmcom.dll,       "Mail Merge Engine"
2:mmascii.mft,     "ASCII Filter"

[copy.QAMM]
2:mmcom.dll,       "Mail Merge Engine"
2:mmqa3.mft,       "Q&A 3.0 Filter"
2:mmqa4.mft,       "Q&A 4.0 Filter"

[copy.JWFLT]
;2:jwflt.flt,       "JustWrite Filter"

[copy.DBASEMM]
2:mmcom.dll,       "Mail Merge Engine"
2:mmdb3.mft,       "dBASE III/IV Filter"

[copy.PDMM]
2:mmcom.dll,       "Mail Merge Engine"
2:mmpd3.mft,       "Paradox 3.x Filter"

[copy.Templates]
2:agenda.qwt,      "Template File", TARGET2   
2:contacts.qwt,    "Template File", TARGET2 
2:faxcover.qwt,    "Template File", TARGET2 
2:letter.qwt,      "Template File", TARGET2   
2:memo.qwt,        "Template File", TARGET2     
2:mtgnotes.qwt,    "Template File", TARGET2
2:newsletr.qwt,    "Template File", TARGET2 
2:objctive.qwt,    "Template File", TARGET2 
2:report.qwt,      "Template File", TARGET2   
2:resume.qwt,      "Template File", TARGET2   
2:wklystat.qwt,    "Template File", TARGET2 

[copy.Userdict]
2:template.qwl,    "Sample Library"
2:user.spl,        "User Dictionary"
2:text.qwb,        "Default Text Toolbar"
2:table.qwb,       "Default Table Toolbar"
2:maillist.dtf,    "Sample Q&A 4.0 Database"
2:maillist.idx,    "Sample Q&A 4.0 Database"
2:maillist.txt,    "Sample ASCII Database"

[copy.Seperate]


;***************************************************************************
;* Groups                                                                  *
;***************************************************************************

[groups]
"Symantec",        symantec.grp

[Symantec]
"Q&A Write",       qawrite.exe,        copy.BaseFiles


;***************************************************************************
;* Dialog/Message Text                                                     *
;***************************************************************************

[Bye]
caption = "Q&A Write - Install Complete"
"This concludes the installation of"
"Q&A Write."
" "
"Please review the file README.QW for last"
"minute changes and corrections to the"
"documentation."
" "
"Select one of the exit options below."

[ByeReboot]
caption = "Q&A Write - Install Complete"
"This concludes the installation of"
"Q&A Write."
" "
"Please review the file README.QW for last"
"minute changes and corrections to the"
"documentation."
" "
"Select one of the exit options below."
" "
"Rebooting is recommended.  Please remove"
"any floppy disks from the drives."

[ByeInstall]
caption = "Q&A Write - Install Complete"
"This concludes the installation of"
"Q&A Write."
" "
"Please review the file README.QW for last"
"minute changes and corrections to the"
"documentation."
" "
"We suggest you exit Windows and reboot your"
"machine before running Q&A Write.

[ByeShell]
caption = "Q&A Write - Install Complete"
"This concludes the installation of"
"Q&A Write."
" "
"Please review the file README.QW for last"
"minute changes and corrections to the"
"documentation."
" "
"When you press OK, Windows will exit to the"
"DOS prompt.  We suggest you reboot your"
"machine and restart Windows before running"
"Q&A Write."

[appselect]
caption =  "Q&A Write - Component Selection"
text   =  "Highlighted items will be installed.  Please deselect any items you do not wish to install."

[Registration]
caption =  "Q&A Write - Registration"
text1   =  "Please register your name and company before continuing:"
text2   =  "&Name:"
text3   =  "&Company:"
Cancel  =  "Cancel"
Help   =  "&Help"
appname =  qawrite.exe
; Note: do not translate the following string
string  =  "Symantec Install for Windows"
active  =  yes

[VersionSearch]
caption =  "Searching for Previous Version"
text1   =  "Searching for a previously installed"
text2   =  "version of Q&A Write for Windows."
appname =  "qawrite.exe"
apppath =  C:\QAWRITE

[TargetDrive]
caption =  "Install Q&A Write 3.0 Files"
defpath =  C:\QAWRITE
text   =  "NOTE: The individual components of the product can be selected/deselected when you choose the Custom Install option."
reqspace=  "3870K disk space required" ; space value must be specified in kilobytes
selected = "%d Additional Component(s)"

[errors]
noprev  =  "Symantec Install for Windows is already running!"

[FileCopy]
copycaption   =  "Installing Q&A Write"
errorcaption  =  "Error Copying Files"
insertcaption =  "Insert Diskette"
Message = MessageText

[MessageText]
""
""
"Please take a moment to complete the Product Registration Card included with your product and return it to Symantec."
""
""
"This will ensure that you receive future product announcements and important notices. It will also qualify you for any discounts on future upgrades."
""
""
"Thank you for purchasing Q&&A Write 3.0 for Windows!"

[cancel]
caption = "Q&A Write"
text   = "Are you sure you want to exit?"

[cancelshell]
caption = "Q&A Write"
text = "When you cancel Install, \nWindows will exit to the DOS prompt\nso that we can reset the Windows environment.\nAre you sure you want to exit?"


[IniBackupOrig]
caption = "Q&A Write -- Startup Files"
"Your current startup files have"
"been backed up."
" "
"WIN.INI has been saved as WIN.QW0."
"AUTOEXEC.BAT has been saved as"
"AUTOEXEC.QW0."

[IniBackupNext]
caption = "Q&A Write -- Startup Files"
"Your current startup files have"
"been backed up."
" "
"WIN.INI has been saved as WIN.QW1."
"AUTOEXEC.BAT has been saved as"
"AUTOEXEC.QW1."


;***************************************************************************
;* Backup of files                                                         *
;***************************************************************************

[Original]
win.ini, win.qw0, WINDOWS, WINDOWS
c:\autoexec.bat, c:\autoexec.qw0, DUMMY, DUMMY

[Saveem]
win.ini, win.qw1, WINDOWS, WINDOWS
c:\autoexec.bat, c:\autoexec.qw1, DUMMY, DUMMY


;***************************************************************************
;* Exists sections                                                         *
;***************************************************************************

[qwini]
qawrite.ini, WINDOWS


[Checkem]
win.qw0, WINDOWS


;***************************************************************************
;* Ini Modifications                                                       *
;***************************************************************************

[Wininidocs]
IniName = win.ini
SectionName = windows
Documents="doc txt wri xls xlc sam qw qwt tg1"

[WininiExts]
IniName = win.ini
SectionName = Extensions
txt="qawrite.exe /t=ASCII ^.txt"
doc="qawrite.exe /t=""Word for Windows 1.x, 2.x"" ^.doc"
rtf="qawrite.exe /t=""Rich Text Format"" ^.rtf"
qw="qawrite.exe ^.qw"
qwt="qawrite.exe -n ^.qwt"

[WininiComp]
IniName = win.ini
SectionName = Compatibility
QAWRITE=0x42080


;***************************************************************************
;* Registration Database                                                   *
;***************************************************************************

[txt]
ext = txt
exe = "qawrite.exe /t=ASCII"

[doc]
ext = doc
exe = "qawrite.exe /t=""Word for Windows 1.x, 2.x"" %1"

[rtf]
ext = rtf
exe = "qawrite.exe /t=""Rich Text Format"" %1"

[qw]
ext = qw
exe = "qawrite.exe"

[qwt]
ext = qwt
exe = "qawrite.exe -n"

;***************************************************************************
;* Misc install sections                                                   *
;***************************************************************************

[TemplateDir]
%s\template, TARGET

[TemplateTarget]
Reset = TARGET2
Location = %s\template, TARGET

[pix]
color = %s\install.bmp, 1, 1

;***************************************************************************
;* Autoexec/Config modifications                                           *
;***************************************************************************

[Autoexec]
caption   = "Q&A Write -- Modify AUTOEXEC.BAT File"
text1    = "The following line(s) need to be added to your autoexec.bat file:"
FileSpec   = c:\autoexec.bat
bootfile = autoexec
EditError1 = "A problem was encountered preparing the new autoexec.bat"
EditError2 = " "
EditError3 = "You should:"
EditError4 = "1. Review the lines that need to be added"
EditError5 = "2. Select the 'Save the required changes to new file's option"
EditError6 = "3. Continue and complete the Install Process"
EditError7 = "4. Make the changes to the autoexec.bat file later"
AddPath  = target
DelItems   = AutoexecDelItems
AddItems   = AutoexecAddItems

[AutoexecDelItems]

[AutoexecAddItems]


;***************************************************************************
;* Set Shell section                                                       *
;***************************************************************************

[SetShell]
AppIniName = qawrite.ini
WinIniName = win.ini
SystemIniName = system.ini
Message = MessageBox.SetShellMessage
SysSectionName = boot
WinSectionName = windows
shell = %s\install.exe
load =
run =
SetShellIfLoaded=
Backup = Backup.SetShellSave
Restore = Backup.SetShellRestore
Active = yes
IfActiveList=LoadedList
SubProcess=

[SetShellSave]
win.ini, win.$qw, WINDOWS
system.ini, system.$qw, WINDOWS

[SetShellRestore]
system.$qw, system.ini, WINDOWS
win.$qw, win.ini, WINDOWS

[LoadedList]
qawrite.exe
jw.exe

[SetShellMessage]
caption = "Q&A Write -- Install"
"Welcome to Q&A Write Installation."
"Please press OK to allow Install to"
"restart Windows and continue Installation."
"Press Cancel to exit Install."



