[process]
backup.pcawinst

Bitmaps.pix

ResetTarget.TargetSource

switch01 = IsRegistered
#ifnot switch01
    Registration
#endif

switch02 = Exists.HostFiles
#ifnot switch02
    MessageBox.MustInstallHost
    Exit
#endif

switch40 = VerifyIni.CheckVideoXGA
switch41 = VerifyIni.CheckVideoVGA
switch42 = VerifyIni.CheckVideoVGABW
switch43 = VerifyIni.CheckVideoEGA

switch20 = FALSE
#if switch40
    switch20 = TRUE
#endif
#if switch41
    switch20 = TRUE
#endif
#if switch42
    switch20 = TRUE
#endif
#if switch43
    switch20 = TRUE
#endif

switch44 = VerifyIni.CheckVideoOldVGA
switch45 = VerifyIni.CheckVideoOldVGABW
switch46 = VerifyIni.CheckVideoOldEGA
switch25 = FALSE
#if switch44
    switch25 = TRUE
#endif
#if switch45
    switch25 = TRUE
#endif
#if switch46
    switch25 = TRUE
#endif

switch21 = VerifyIni.CheckMouseDriver
switch26 = VerifyIni.CheckMouseDriverOld

switch40 = VerifyIni.CheckKeyboard
switch41 = VerifyIni.CheckKeyboardHP
switch42 = VerifyIni.CheckKeyboardOL
switch22 = FALSE
#if switch40
    switch22 = TRUE
#endif
#if switch41
    switch22 = TRUE
#endif
#if switch42
    switch22 = TRUE
#endif

switch43 = VerifyIni.CheckKeyboardOld
switch44 = VerifyIni.CheckKeyboardOldHP
switch45 = VerifyIni.CheckKeyboardOldOL
switch27 = FALSE
#if switch43
    switch27 = TRUE
#endif
#if switch44
    switch27 = TRUE
#endif
#if switch45
    switch27 = TRUE
#endif

;***** Note: Switch30 and Switch31 are modified in CallProc.LocalCustomize!!!
switch30 = FALSE
#if switch20
    switch30 = TRUE
#endif
#if switch21
    switch30 = TRUE
#endif
#if switch22
    switch30 = TRUE
#endif
#if switch23
    switch30 = TRUE
#endif

switch31 = FALSE
#if switch30
    switch31 = VerifyStartup.CheckAutoexec
#endif

CallProc.LocalCustomize

switch07 = VerifyIni.NetwareIsNetwork
#if switch07
    UpdateIni.VIPX
#endif

switch07 = VerifyIni.CheckNetHeapSize
#ifnot switch07
    UpdateIni.SetNetHeapSize
#endif

#ifnot switch30
    RemoveFromLoad.RemHost
#endif

switch35 = Exists.PcawIni
#ifnot switch35
    switch20 = FALSE
    switch21 = FALSE
    switch22 = FALSE
    switch23 = FALSE
#endif

#if switch20
    CopyIni.PCAWVideo
#endif

#if switch22
    CopyIni.PCAWKeyboard
#endif

switch24=FALSE
#if switch21
   switch24 = VerifyIni.MouseDriverSaved
#endif

#if switch24
   CopyIni.RestoreMouseDriver
   switch21=FALSE
#endif

#if switch21
   CopyIni.PCAWMouse
#endif

switch37=FALSE
#ifnot switch31
    switch37 = VerifyStartup.CheckAutoexec
#endif

switch38=FALSE
#if switch37
    UpdateStartup.Config
    switch38=TRUE
#endif

#ifnot switch30
    Delete.InstallDLLs
    End.ByeNoHostNoReboot
#endif

;---------------------------------------------------------------------
; End here if not Host
;---------------------------------------------------------------------

switch05 = exists.CheckAxc
#ifnot switch05
    backup.Original
#endif

Backup.SaveEm
messagebox.InformAboutBackup

#ifnot switch25
    CopyIni.KeepVideoDriver
#endif

#ifnot switch27
    CopyIni.KeepKeyboardDriver
#endif

switch10 = IsVideo.Vga256
#if switch10
    UpdateIni.AW5XGA
#endif

switch11 = IsVideo.Vga16
#if switch11
    UpdateIni.AW5VGA
#endif

switch12 = IsVideo.VgaMono
#if switch12
    UpdateIni.AW5VGABW
#endif

switch13 = IsVideo.Ega
#if switch13
    UpdateIni.AW5EGA
#endif

#ifnot switch26
   CopyIni.SaveMouseDriver
   CallProc.CopyMouseDrv
   CopyIni.KeepMouseDriver
#endif

UpdateIni.AW5MOUSE

UpdateIni.AW5KBD

switch37=TRUE
#if switch31
    switch37 = VerifyStartup.CheckAutoexec
#endif

#ifnot switch37
    UpdateStartup.Autoexec
    switch38=TRUE
#endif

#if switch31
    UpdateIni.WinIni
#endif

#if switch38
    End.bye
#endif

End.ByeNoReboot

end

;-----------------------------------------------------------------------
[bye]
caption = "pcANYWHERE -- V�rdinstallation avslutad"
"pcANYWHERE f�r Windows �r konfigurerat f�r v�rdoperation."
" "
"V�lj ett av f�ljande alternativ."
" "
"Omstart rekommenderas starkt!"
"Kontrollera att det inte finns n�gon diskett i diskettstationen."

[byeNoReboot]
caption = "pcANYWHERE -- V�rdinstallation avslutad"
"pcANYWHERE f�r Windows �r konfigurerat f�r v�rdoperation."
" "
"V�lj ett av f�ljande alternativ."

[byeNoHost]
caption = "pcANYWHERE -- V�rdinstallation avslutad"
"pcANYWHERE f�r Windows �r inte l�ngre konfigurerat f�r v�rdoperation."
" "
"V�lj ett av f�ljande alternativ."
" "
"Omstart rekommenderas starkt!"
"Kontrollera att det inte finns n�gon diskett i diskettstationen."

[byeNoHostNoReboot]
caption = "pcANYWHERE -- V�rdinstallation avslutad"
"pcANYWHERE f�r Windows �r inte l�ngre konfigurerat f�r v�rdoperation."
" "
"V�lj ett av f�ljande alternativ."

[InformAboutBackup]
caption = "Startfiler"
"Dina startfiler har s�kerhetskopierats."
" "
"AUTOEXEC.BAT, WIN.INI och SYSTEM.INI har kopierats till katalogen med pcANYWHERE."

[MustInstallHost]
caption = "pcANYWHERE Konfigurering"
"pcANYWHERE V�rdprogram kunde inte hittas i ditt system."
" "
"Installera programmet fr�n installationsdisketterna f�r att konfigurera pcANYWHERE V�rd."

[appselect]
caption = "pcANYWHERE -- Val av applikationer"
text    = "Markera vilken applikation du vill installera:"

[Registration]
caption = "pcANYWHERE -- Registrering"
text1   = "Var v�nlig registrera ditt namn och f�retag innan du forts�tter:"
text2   = "&Namn:"
text3   = "&F�retag:"
Cancel  = "&Avbryt"
Help    = "&Hj�lp"
appname = winaw.exe
string  = "Symantec Install for Windows"
active  = no

[VersionSearch]
caption = "S�kning efter tidigare versioner"
text1   = "S�ker efter en tidigare"
text2   = "installerad version av pcANYWHERE."
appname = "winaw.exe"
apppath = c:\winaw

[TargetDrive]
caption = "Installation av pcANYWHERE"
defpath = C:\WINAW
text    = "OBS: De enskilda delarna av produkten kan v�ljas/v�ljas bort om du v�ljer Anpassad installation."
reqspace= "4225 K diskutrymme beh�vs" ; space value must be
               ; specified in kilobytes
[errors]
noprev  = "Symantec Install for Windows k�rs redan!"

[FileCopy]
copycaption   = "Installation av pcANYWHERE"
errorcaption  = "Fel vid filkopiering"
insertcaption = "S�tt i diskett"
Message       = MessageText

[MessageText]
""
"S�tt av n�gra minuter f�r att fylla i registreringskortet som f�ljde med din produkt och skicka in det till Symantec."
""
"Detta g�r att att du f�r information om viktiga meddelanden och framtida produkter. Det kommer �ven att kvalificera dig f�r eventuella rabatter p� framtida uppgraderingar."
""
"Tack f�r att du k�pte pcANYWHERE f�r Windows!"

[cancel]
caption = "pcANYWHERE"
text    = "�r du s�ker p� att du vill avsluta?"

;-----------------------------------------------------------------------
[TargetSource]
DefaultDir=
Location=Source

[HostFiles]
winhost.exe, target

[SaveEm]
system.ini, system.ini, WINDOWS, target
win.ini, win.ini, WINDOWS, target
c:\autoexec.bat, autoexec.bat, dummy, target

[pcawinst]
awinst.dll, awinst.dll, SOURCE, SYSTEM

[InstallDLLs]
AWINST.DLL, SYSTEM

[original]
system.ini, system.in0, WINDOWS, target
win.ini, win.in0, WINDOWS, target
c:\autoexec.bat, autoexec.ba0, dummy, target

[CheckAxc]
autoexec.ba0, target

[PcawIni]
pcaw.ini, windows

[PCAWVideo]
IniSrc = pcaw.ini
IniTrgt = system.ini
SectionName = pcANYWHERE
NewSectionName = boot
display=*, NewItemName=display.drv

[PCAWMouse]
IniSrc = pcaw.ini
IniTrgt = system.ini
SectionName = pcANYWHERE
NewSectionName = boot
mouse=*, NewItemName=mouse.drv

[PCAWKeyboard]
IniSrc = pcaw.ini
IniTrgt = system.ini
SectionName = pcANYWHERE
NewSectionName = boot
keyboard=*, NewItemName=keyboard.drv

[AW5MOUSE]
IniName = system.ini
SectionName = boot
mouse.drv=aw5mouse.drv

[AW5KBD]
IniName = system.ini
SectionName = boot
keyboard.drv=aw5kbd.drv

[AW5XGA]
IniName = system.ini
SectionName = boot
display.drv=aw5xga.drv

[AW5VGA]
IniName = system.ini
SectionName = boot
display.drv=aw5vga.drv

[AW5VGABW]
IniName = system.ini
SectionName = boot
display.drv=aw5vgabw.drv

[AW5EGA]
IniName = system.ini
SectionName = boot
display.drv=aw5ega.drv

[RemHost]
winhost.exe

[WinIni]
IniName = win.ini
SectionName = windows
load=%s\winhost.exe, Append, target

[CheckWinIni]
IniName = win.ini
SectionName = windows
load=*winhost*

[NetwareIsNetwork]
IniName = system.ini
SectionName = 386Enh
network=*vnetware.386

[VIPX]
IniName = system.ini
SectionName = 386Enh
network=",vipx.386", Append

[CheckNetHeapSize]
IniName = system.ini
SectionName = 386Enh
NetHeapSize=*

[SetNetHeapSize]
IniName = system.ini
SectionName = 386Enh
NetHeapSize=24

[CheckVideoXGA]
IniName = system.ini
SectionName = boot
display.drv=*aw5xga.drv

[CheckVideoVGA]
IniName = system.ini
SectionName = boot
display.drv=*aw5vga.drv

[CheckVideoVGABW]
IniName = system.ini
SectionName = boot
display.drv=*aw5vgabw.drv

[CheckVideoEGA]
IniName = system.ini
SectionName = boot
display.drv=*aw5ega.drv

[CheckVideoOldVGA]
IniName = system.ini
SectionName = boot
display.drv=*awvga.drv

[CheckVideoOldVGABW]
IniName = system.ini
SectionName = boot
display.drv=*awvgamon.drv

[CheckVideoOldEGA]
IniName = system.ini
SectionName = boot
display.drv=*awega.drv

[CheckKeyboard]
IniName = system.ini
SectionName = boot
keyboard.drv=*aw5kbd.drv

[CheckKeyboardHP]
IniName = system.ini
SectionName = boot
keyboard.drv=*aw5kbdhp.drv

[CheckKeyboardOL]
IniName = system.ini
SectionName = boot
keyboard.drv=*aw5kbdol.drv

[CheckKeyboardOld]
IniName = system.ini
SectionName = boot
keyboard.drv=*awkbd.drv

[CheckKeyboardOldHP]
IniName = system.ini
SectionName = boot
keyboard.drv=*awkbdhp.drv

[CheckKeyboardOldOL]
IniName = system.ini
SectionName = boot
keyboard.drv=*awkbdoli.drv

[CheckMouseDriver]
IniName = system.ini
SectionName = boot
mouse.drv=*aw5mouse.drv

[CheckMouseDriverOld]
IniName = system.ini
SectionName = boot
mouse.drv=*awmouse.drv

[KeepVideoDriver]
IniSrc = system.ini
IniTrgt = pcaw.ini
SectionName = boot
NewSectionName = pcANYWHERE
display.drv=*, NewItemName=display

[KeepKeyboardDriver]
IniSrc = system.ini
IniTrgt = pcaw.ini
SectionName = boot
NewSectionName = pcANYWHERE
keyboard.drv=*, NewItemName=keyboard

[KeepMouseDriver]
IniSrc = system.ini
IniTrgt = pcaw.ini
SectionName = boot
NewSectionName = pcANYWHERE
mouse.drv=*, NewItemName=mouse

[SaveMouseDriver]
IniSrc = system.ini
IniTrgt = pcaw.ini
SectionName = boot
NewSectionName = uninstall
mouse.drv=*

[RestoreMouseDriver]
IniSrc = pcaw.ini
IniTrgt = system.ini
SectionName = uninstall
NewSectionName = boot
mouse.drv=*

[MouseDriverSaved]
IniName=pcaw.ini
SectionName=uninstall
mouse.drv=*

[CopyMouseDrv]
dll=awinst.dll
function=CopyMouseDriver
PrevName=mouse.drv
NewName=aworgmse.drv

[pix]
color = %s\winaw.bmp

[CheckAutoexec]
FindRems=0
File=c:\autoexec.bat
FindItems=AutoexecFindItems

[AutoexecFindItems]
*AW5HOST*

[Config]
caption    = "pcANYWHERE -- Modifiering av AUTOEXEC.BAT"
text1      = "F�ljande rad(er) beh�ver tas bort fr�n din autoexec.bat-fil:"
FileSpec   = c:\autoexec.bat
EditError1 = "Ett problem uppstod vid tillverkningen av den nya autoexec.bat-filen"
EditError2 = " "
EditError3 = "Du b�r g�ra f�ljande:"
EditError4 = "1. Kontrollera de rader som beh�ver tas bort"
EditError5 = "2. V�lj alternativet 'Spara n�dv�ndiga �ndringar i en ny fil'"
EditError6 = "3. Forts�tt och slutf�r installationen"
EditError7 = "4. G�r �ndringarna i autoexec.bat-filen senare"
AddPath    =
DelItems   = AutoexecDelItems
AddItems   =

[autoexec]
caption    = "pcANYWHERE -- Modifiering av AUTOEXEC.BAT"
text1      = "F�ljande rad(er) beh�ver l�ggas till i din autoexec.bat-fil:"
FileSpec   = c:\autoexec.bat
EditError1 = "Ett problem uppstod vid tillverkningen av den nya autoexec.bat-filen"
EditError2 = " "
EditError3 = "Du b�r g�ra f�ljande:"
EditError4 = "1. Kontrollera de rader som beh�ver l�ggas till"
EditError5 = "2. V�lj alternativet 'Spara n�dv�ndiga �ndringar i en ny fil'"
EditError6 = "3. Forts�tt och slutf�r installationen"
EditError7 = "4. G�r �ndringarna i autoexec.bat-filen senare"
AddPath    =
DelItems   = AutoexecDelItems
AddItems   = AutoexecAddItems

[AutoexecDelItems]
*AW5HOST*
*AWLAN*
*AWHOST*

[AutoexecAddItems]
%s\pcawaxc.$$$, target, LoadFromFile, PutMeAfterThis=PCAAfterThis

[PCAAfterThis]
"login*"
"set aw=*"
"set aw =*"

[NetworkCustomize]
dll        = awinst.dll
function   = AWNetworkCustomize
ConfigFile = winaw.bin, target

[LocalCustomize]
dll        = awinst.dll
function   = AWLocalCustomize
ConfigFile = winaw.bin, target
Workfile   = pcawaxc.$$$, target
AxcCommand = "aw5host -P=%s -W=%s -M=R", target

