[process]
backup.pcawinst

Bitmaps.pix

Uninstall
CallProc.SetFull

PCACopy = SetActiveCopy

Backup.SaveEm
messagebox.InformAboutBackup

UpdateStartup.Autoexec

RemoveFromLoad.RemHost

Delete.BaseFiles

DelFromIni.VPCAW5

switch40 = Exists.Vpcaw386
#if switch40 
    AddToIni.VPCAW
#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

switch01 = Exists.PcawIni
#ifnot switch01
    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

groups

Delete.BackupFiles
Delete.Leftovers
Delete.AWDrivers

switch29=TRUE
#if switch25
    switch29=FALSE
#endif
#if switch26
    switch29=FALSE
#endif
#if switch27
    switch29=FALSE
#endif

#if switch29
    Delete.PcawIni
#endif

End.bye

End

;---------------------------------------------------------------------
; Subproc when INSTALL takes over Windows
;---------------------------------------------------------------------

[SubProc]
DelFromIni.VPCAW5

switch51 = Exists.PcawIni
#ifnot switch51
    Return
#endif

switch40 = VerifyIni.CheckVideoXGA
switch41 = VerifyIni.CheckVideoVGA
switch42 = VerifyIni.CheckVideoVGABW
switch43 = VerifyIni.CheckVideoEGA
switch44 = VerifyIni.CheckVideoOldVGA
switch45 = VerifyIni.CheckVideoOldVGABW
switch46 = VerifyIni.CheckVideoOldEGA

switch20 = FALSE
#if switch40
    switch20 = TRUE
#endif
#if switch41
    switch20 = TRUE
#endif
#if switch42
    switch20 = TRUE
#endif
#if switch43
    switch20 = TRUE
#endif
#if switch44
    switch20 = TRUE
#endif
#if switch45
    switch20 = TRUE
#endif
#if switch46
    switch20 = TRUE
#endif

switch40 = VerifyIni.CheckMouseDriver
switch41 = VerifyIni.CheckMouseDriverOld

switch21 = FALSE
#if switch40
    switch21 = TRUE
#endif
#if switch41
    switch21 = TRUE
#endif

switch40 = VerifyIni.CheckKeyboard
switch41 = VerifyIni.CheckKeyboardHP
switch42 = VerifyIni.CheckKeyboardOL
switch43 = VerifyIni.CheckKeyboardOld
switch44 = VerifyIni.CheckKeyboardOldHP
switch45 = VerifyIni.CheckKeyboardOldOL

switch22 = FALSE
#if switch40
    switch22 = TRUE
#endif
#if switch41
    switch22 = TRUE
#endif
#if switch42
    switch22 = TRUE
#endif
#if switch43
    switch22 = TRUE
#endif
#if switch44
    switch22 = TRUE
#endif
#if switch45
    switch22 = TRUE
#endif

#if switch20
    CopyIni.PCAWVideo
#endif

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

#if switch24
   CopyIni.RestoreMouseDriver
   switch21=FALSE
#endif

#if switch21
   CopyIni.PCAWMouse
#endif

#if switch22
    CopyIni.PCAWKeyboard
#endif

Return

;-----------------------------------------------------------------------
; Copy.
;-----------------------------------------------------------------------
[PCACopy]
#copy.BaseFiles, 0:, "pcANYWHERE - 2,978K ",              2978

;-----------------------------------------------------------------------
; Delete.
;-----------------------------------------------------------------------
[BaseFiles]
AWCM.DLL,       SYSTEM
AWCM8250.DLL,   SYSTEM
AWCMIN14.DLL,   SYSTEM
AWCMIPX.DLL,    SYSTEM
AWCMNASI.DLL,   SYSTEM
AWCMNB.DLL,     SYSTEM
AWCMTACS.DLL,   SYSTEM

[Leftovers]
WINAW.INI,      WINDOWS
AWINST.DLL,     SYSTEM
AWLPFUNC.DLL,   SYSTEM

[BackupFiles]
WIN.$AW,        WINDOWS
SYSTEM.$AW,     WINDOWS
WIN.AWA,        WINDOWS
SYSTEM.AWA,     WINDOWS
WIN.AWO,        WINDOWS
SYSTEM.AWO,     WINDOWS
C:\AUTOEXEC.AWA
C:\AUTOEXEC.AWO


[AWDrivers]
AW5XGA.DRV,     SYSTEM
AW5VGA.DRV,     SYSTEM
AW5EGA.DRV,     SYSTEM
AW5VGABW.DRV,   SYSTEM
AW5KBD.DRV,     SYSTEM
AW5KBDHP.DRV,   SYSTEM
AW5KBDOL.DRV,   SYSTEM
AW5MOUSE.DRV,   SYSTEM
AWORGMSE.DRV,   SYSTEM
VPCAW5.386,     SYSTEM
AWREMACC.DRV,   SYSTEM
AWFONT.FON,     SYSTEM

;-----------------------------------------------------------------------
; Groups.
;-----------------------------------------------------------------------
[groups]
"pcANYWHERE",       winaw.grp

[pcANYWHERE]
"pcANYWHERE f�r Windows",winaw.exe,        copy.BaseFiles
"pcANYWHERE V�rdinstallation", "install.exe /s", copy.BaseFiles
"Tag bort pcANYWHERE",     "install.exe /u", copy.BaseFiles

;-----------------------------------------------------------------------
; Dialog Boxes.
;-----------------------------------------------------------------------
[bye]
caption = "pcANYWHERE -- Avinstallering f�rdig"
"Detta avslutar borttagningen av pcANYWHERE f�r Windows."
" "
"V�lj ett avslutningsalternativ."
" "
"Omstart rekommenderas starkt!"
"Se till att ingen diskett �r isatt."

[InformAboutBackup]
caption = "Startfiler"
"Startfilerna f�re installationen av pcANYWHERE har placerats i sina ursprungliga kataloger."
" "
"De ursprungliga AUTOEXEC.BAT, WIN.INI, och SYSTEM.INI har namntill�gget .PCA."

[appselect]
caption = "pcANYWHERE -- Val av applikation"
text    = "Ange vilka applikationer som ska tas bort:"

[SourceDrive]
caption = "Ta bort pcANYWHERE-filer fr�n..."
defpath = c:\winaw

[errors]
noprev  = "Symantec Install f�r Windows k�rs redan!"

[cancel]
caption = "pcANYWHERE"
text    = "Vill du verkligen avbryta?"

;-----------------------------------------------------------------------
; Backups.
;-----------------------------------------------------------------------
[SaveEm]
system.awo, system.pca, WINDOWS, WINDOWS
win.awo, win.pca, WINDOWS, WINDOWS
c:\autoexec.awo, c:\autoexec.pca, dummy, dummy

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

;-----------------------------------------------------------------------
; Ini Modifications.
;-----------------------------------------------------------------------
[VPCAW5]
IniName = system.ini
SectionName = 386Enh
device=vpcaw5.386
timercriticalsection=500

[VPCAW]
IniName = system.ini
SectionName = 386Enh
device=vpcaw.386

[PcawIni]
pcaw.ini, windows

[Vpcaw386]
vpcaw.386, system

[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

[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

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

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

;-----------------------------------------------------------------------
; Shell Functions.
;-----------------------------------------------------------------------

[pix]
color = %s\winaw.bmp

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

[AutoexecDelItems]
*aw5host*

;-----------------------------------------------------------------------
; Misc Uninstall Functions.
;-----------------------------------------------------------------------
[RemHost]
winhost.exe

[RemoveDir]
dll       = awinst.dll
function  = RemoveDir
Directory = SOURCE

[SetFull]
dll       = awinst.dll
function  = SetFullUninstall

;-----------------------------------------------------------------------

[SetShell]
AppIniName = winaw.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=SubProc

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

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

[LoadedList]
INSTALL.EXE

[SetShellMessage]
caption  =  "pcANYWHERE -- M�jlig filkonflik"
"En eller flera av de filer som ska tas bort �r aktiva i systemet."
""
"Install m�ste ta kontroll �ver Windows."
""
"Windows �terst�lls till sitt nuvarande l�ge n�r borttagningen �r avslutad."
""
"L�s om installationsproblem i filen README.TXT i katalogen f�r pcANYWHERE f�r Windows om Windows inte startas om."
""
"Var god v�nta medan Install tar kontroll �ver Windows."



