; Bundled Application HPI File

[version]
signature=hpi
version=3.2

[includes]
count=1
1=inc.hpi

; *************************
; *                       *
; * professor franklin    *
; *                       *
' *************************

[install:pf]
1=statuson,     statusonpf
2=set,          pf_setmacros
3=ui,           pf_license_ui
4=hpi,          $if,^$license^$,!=,accept,pf_hpi_skip_install,$
5=ui,           insert_cd_ui
6=installfiles
7=addreg,       pfreg, pf_adduninstall
8=regocx,       pfocx
9=addshortcut,  pf_addshortcuts
10=statusoff,   statusoffpf
count=10


[pf_hpi_skip_install]
1=apps.hpi,pf_skip_install

[pf_skip_install]
1=statusoff, statusoffpf
count=1

[statusonpf]

[pf_setmacros]
1=license_flag,true
2=license_file,pflic.txt

[pf_license_ui]
sequence=11

[statusoffpf]

[pf_addshortcuts]
1=photon.exe, $rootdir$,,, $pf_desc$.lnk, $41$, $pf_desc$, $pf_desc$
2=hpfiui.exe, $reglookup, HKLM, SOFTWARE\Hewlett-Packard\^$divid^$\^$pnum^$\^$product^$\env, rootdir$,,-c -huninstall:pf -fapps.hpi -vdivid=$divid$ -vpnum=$pnum$ -vproduct=$product$,$pf_uninstall_name$.lnk, $41$, $pf_desc$, $pf_desc$

[uninstall:pf]
1=set,pf_setup_component
2=messagebox,pf_confirm_uninstall
3=exit,$if,^$msgbox^$,==,no,doexit,,$
4=statuson, statuson
5=set, pf_setup_rootdir
6=delfile
7=delfile, pf_delshortcuts
8=deldir,pf_deldir
9=delreg,pf_deluninstall
10=statusoff, statusoffpf
count=10

[doexit]
exitcode=0

[pf_setup_component]
1=component,$pf_desc$

[pf_confirm_uninstall]
1=$app_uninst_confirm$,$app_uninst_confirm_caption$,yes_no,question
                                
[pf_setup_rootdir]
1=rootdir,$reglookup, HKLM, ^$softwarepath^$\^$pf_productkey^$, InstallDir$

[pfreg]
1=HKLM,$softwarepath$,$pf_productkey$,  InstallDir,  $rootdir$
2=HKLM,$softwarepath$,$pf_productkey$,  UIPartsDir,  $rootdir$\UIParts
3=HKLM,$softwarepath$,$pf_productkey$,  SoundsDir,   $rootdir$\Sounds
4=HKLM,$softwarepath$,$pf_productkey$,  ImagesDir,   $pf_setupdir$\Images
5=HKLM,$softwarepath$,$pf_productkey$,  EdgesDir,    $pf_setupdir$\Edges
6=HKLM,$softwarepath$,$pf_productkey$,  FramesDir,   $pf_setupdir$\Frames
7=HKLM,$softwarepath$,$pf_productkey$,  LightsDir,   $pf_setupdir$\Lights
8=HKLM,$softwarepath$,$pf_productkey$,  TexturesDir, $pf_setupdir$\Textures
9=HKLM,$softwarepath$,$pf_productkey$,  ImpressDir,  $pf_setupdir$\Impress
10=HKLM,$softwarepath$,$pf_productkey$, TemplateDir, $pf_setupdir$\Template
11=HKLM,$softwarepath$,$pf_productkey$, TilesDir,    $pf_setupdir$\Tiles
12=HKLM,$softwarepath$,$pf_productkey$, GiftShopDir, $rootdir$\GiftShop
13=HKLM,$softwarepath$,$pf_productkey$, RegisterDir, $rootdir$\Register

[pf_adduninstall]
1=HKLM,$uninstallpath$,Uninstall\$pf_desc$,  Displayname,         $pf_reg_uninstall_name$
2=HKLM,$uninstallpath$,Uninstall\$pf_desc$,  UninstallString,     $reglookup, HKLM, SOFTWARE\Hewlett-Packard\^$divid^$\^$pnum^$\^$product^$\env, rootdir$\hpfiui.exe -c -huninstall:pf -fapps.hpi -vdivid=$divid$ -vpnum=$pnum$ -vproduct=$product$

[pf_deluninstall]
1=HKLM, $uninstallpath$\Uninstall, $pf_desc$,

[pf_deldir]
1=$rootdir$,GiftShop
2=$rootdir$,Register
3=$rootdir$,sounds
4=$rootdir$,uiparts\appsdlg
5=$rootdir$,uiparts\cans
6=$rootdir$,uiparts\faredge
7=$rootdir$,uiparts\filmstrp
8=$rootdir$,uiparts\menu
9=$rootdir$,uiparts\tipsdlg
10=$rootdir$,uiparts\tools
11=$rootdir$,uiparts\variatns
12=$rootdir$,uiparts\startdlg
13=$rootdir$,uiparts
14=$rootdir$
15=$41$\$pf_desc$

[pf_delshortcuts]
1=$pf_desc$.lnk, $41$\$pf_desc$
2=$pf_uninstall_name$.lnk, $41$\$pf_desc$

[pfocx]
1=$11$\ltocx70N.ocx


; *************************
; *                       *
; * picture-it express    *
; *                       *
' *************************

[install:picture_it_express]
1=statusoff,  statusoffpi
2=ui,         insert_cd_ui
3=addreg,     picture_it_express_clearhooks
4=run,        picture_it_express_runinstall
5=set,        picture_it_express_checkreboot
count=5

[statusoffpi]

[picture_it_express_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Picture_It_Express\2.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Picture_It_Express\2.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Picture_It_Express\2.0\install, DefaultInstallRoot,  $rootdir$

; For picture-it, we run setup.exe and wait for it to terminate
[picture_it_express_runinstall]
1=$4$\PItExp\setup.exe,true

[picture_it_express_checkreboot]
1=pie_reboot,$reglookup, HKLM, ^$softwarepath^$\Hewlett-Packard\^$divid^$\Picture_It_Express\2.0\install, RebootRequired$
2=bundle_reboot_required,$if,^$pie_reboot^$,==,1,true,^$bundle_reboot_required^$$



; *************************
; *                       *
; * print master 32       *
; *                       *
' *************************

[install:print_master:32]
1=statusoff,  statusoffpm32
2=ui,         insert_cd_ui
3=addreg,     print_master_clearhooks
4=run,        print_master_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,print_master_wait_reg,,$
6=set,        print_master_checkreboot
count=5

[statusoffpm32]

[print_master_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.00\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.00\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.00\install, DefaultInstallRoot,  $rootdir$


[print_master_runinstall]
1=$4$\PM4\inst32.exe

[print_master_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\PrintMaster Gold\4.00\install,InstallComplete,1,value

[print_master_checkreboot]
1=pm_reboot,$reglookup, HKLM, ^$softwarepath^$\Hewlett-Packard\^$divid^$\PrintMaster Gold\4.00\install, RebootRequired$
2=bundle_reboot_required,$if,^$pm_reboot^$,==,1,true,^$bundle_reboot_required^$$

; **************************
; *                        *
; * print master 32 french *
; *                        *
' **************************

[install:print_master_fra:32]
1=statusoff,  statusoffpm32_fra
2=ui,         insert_cd_ui
3=addreg,     print_master_clearhooks_fra
4=run,        print_master_runinstall_fra
5=waitreg,    $if,^$bundlemode^$,==,multi,print_master_wait_reg_fra,,$
6=set,        print_master_checkreboot_fra
count=5

[statusoffpm32_fra]

[print_master_clearhooks_fra]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.03\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.03\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\PrintMaster Gold\4.03\install, DefaultInstallRoot,  $rootdir$


[print_master_runinstall_fra]
1=$4$\PM4\inst32.exe

[print_master_wait_reg_fra]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\PrintMaster Gold\4.03\install,InstallComplete,1,value

[print_master_checkreboot_fra]
1=pm_reboot,$reglookup, HKLM, ^$softwarepath^$\Hewlett-Packard\^$divid^$\PrintMaster Gold\4.03\install, RebootRequired$
2=bundle_reboot_required,$if,^$pm_reboot^$,==,1,true,^$bundle_reboot_required^$$


; *************************
; *                       *
; * print master 16       *
; *                       *
' *************************

[install:print_master:16]
1=ui,  insert_cd_ui
2=run, print_master_runinstall_16
count=2

[statusoffpm16]

[print_master_clearhooks_16]
1=hpfinst.ini,$10$,,PrintMaster Gold^,4.0,InstallComplete,0
1=hpfinst.ini,$10$,,PrintMaster Gold^,4.0,RebootRequired,0
1=hpfinst.ini,$10$,,PrintMaster Gold^,4.0,DefaultInstallRoot,$rootdir$

[print_master_runinstall_16]
1=$4$\PM4\install.exe

[print_master_wait_ini_16]
1=hpfinst.ini,PrintMaster Gold^,4.0,InstallComplete,1,value


; *************************
; *                       *
; * acrobat 16            *
; *                       *
' *************************

[install:acrobat:16]
1=ui,  insert_cd_ui
2=run, acrobat_runinstall_16
count=2

[acrobat_runinstall_16]
1=$4$\acrobat\$lang$\16\ar16301.exe

; *************************
; *                       *
; * acrobat 32            *
; *                       *
' *************************

[install:acrobat:32]
1=ui,  insert_cd_ui
2=run, acrobat_runinstall_32
count=2

[acrobat_runinstall_32]
1=$4$\acrobat\$lang$\32\ar32301.exe


; *************************
; *                       *
; * ereg                  *
; *                       *
' *************************

[install:ereg:16]
1=installfiles
count=1

[install:ereg:32]
1=installfiles
count=1


; *************************
; *                       *
; * Disney Blast          *
; *                       *
' *************************

[install:disney_blast]
1=statusoff,  statusoffdisney_blast
2=ui,         insert_cd_ui
3=addreg,     disney_blast_clearhooks
4=run,        disney_blast_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,disney_blast_wait_reg,,$
count=5

[statusoffdisney_blast]

[disney_blast_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Disney's Daily Blast\2.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Disney's Daily Blast\2.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\Disney's Daily Blast\2.0\install, DefaultInstallRoot,  $rootdir$

[disney_blast_runinstall]
1=$4$\Disney\setup.exe

[disney_blast_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\Disney's Daily Blast\2.0\install,InstallComplete,1,value

; *************************
; *                       *
; * Cola                  *
; *                       *
' *************************
[install:cola:16]
1=InstallFiles
count=1

[install:cola:32]
1=set, cola_check_jetadmin
2=hpi, $if,^$cola_jetadmin^$,==,true,cola_hpi_skip_install,$
3=InstallFiles
count=3

[cola_check_jetadmin]
1=cola_jetadmin,$checkfile,^$11^$\jetadmin.exe$

[uninstall:cola:16]
1=DelFile

[uninstall:cola:32]
1=DelFile

[cola_hpi_skip_install]
1=apps.hpi,cola_skip_install,goto

[cola_skip_install]




; *************************
; *                       *
; * deskjet.com           *
; *                       *
' *************************

[install:deskjet.com]
1=InstallFiles
2=RenFile,     rename_deskjet.com
count=2

[uninstall:deskjet.com]
1=DelFile
count=1

[rename_deskjet.com]
1=deskjet.url,$41$,$productname$,www.deskjet.com.url


; *************************
; *                       *
; * deskjet-support.com   *
; *                       *
' *************************

[install:deskjet-support.com]
1=InstallFiles
2=RenFile,      rename_deskjet-support.com
count=2

[uninstall:deskjet-support.com]
1=DelFile
count=1

[rename_deskjet-support.com]
1=djsupp.url,$41$,$productname$,www.hp.com/support/deskjet.url

; *************************
; *                       *
; * dogz                  *
; *                       *
' *************************

[install:dogz]
1=set,        set_dogz_available
2=updateini,  schedule_dogz
3=statusoff,  statusoffdogz
4=set,        $if,^$lang^$,==,fra,dogz_french_macros,$
5=MessageBox, $if,^$lang^$,==,fra,dogz_french_message,$
count=5

[set_dogz_available]
1=dogz_available,true

[schedule_dogz]
1=hpfsched.ini,$10$,,Schedule,                        Count,   dogz_$product$, indexremove
2=hpfsched.ini,$10$,,Schedule,                        Count,   dogz_$product$, indexappend
3=hpfsched.ini,$10$,,dogz_$product$,                  Type,    Once
4=hpfsched.ini,$10$,,dogz_$product$,                  Exec,    $rootdir$\hpfiui.exe -c -vdivid=$divid$ -vpnum=$pnum$ -vproduct=$product$ -fapps.hpi -hrundogz
5=hpfsched.ini,$10$,,dogz_$product$,                  Enable,  TRUE

[statusoffdogz]

[dogz_french_macros]
1=application_name,Dogz
2=application_serial_number,9001-5025-3220

[dogz_french_message]
1=$application_serial_number_text$,,ok,info


[rundogz]
1=updateini, unschedule_dogz
2=ui,        insert_cd_ui
3=run,       $if,^$lang^$,==,fra,dogz_runfrainstall,dogz_runinstall$

[unschedule_dogz]
1=hpfsched.ini,$10$,,dogz_$product$,                  Enable,  FALSE


[dogz_runinstall]
1=$4$\$lang$\dogz\setupall.exe

[dogz_runfrainstall]
1=$4$\$lang$\dogz\setup.exe



; *************************
; *                       *
; * Photo Meishi Club     *
; *                       *
' *************************

[install:MeishiClub]
1=statusoff,  statusoffMeishiClub
2=ui,         insert_cd_ui
3=addreg,     MeishiClub_clearhooks
4=run,        MeishiClub_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,MeishiClub_wait_reg,,$
count=5

[statusoffMeishiClub]

[MeishiClub_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\MeishiPrivate\1.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\MeishiPrivate\1.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\MeishiPrivate\1.0\install, DefaultInstallRoot,  $rootdir$

[MeishiClub_runinstall]
1=$4$\$lang$\MeishiP\setup.exe

[MeishiClub_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\MeishiPrivate\1.0\install,InstallComplete,1,value


; *************************
; *                       *
; * Photo Calendar Club   *
; *                       *
' *************************

[install:CalClub]
1=statusoff,  statusoffCalClub
2=ui,         insert_cd_ui
3=addreg,     CalClub_clearhooks
4=run,        CalClub_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,CalClub_wait_reg,,$
count=5

[statusoffCalClub]

[CalClub_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\CalClub\1.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\CalClub\1.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\CalClub\1.0\install, DefaultInstallRoot,  $rootdir$

[CalClub_runinstall]
1=$4$\$lang$\CalClub\setup.exe

[CalClub_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\CalClub\1.0\install,InstallComplete,1,value


; *************************
; *                       *
; * Seal Club             *
; *                       *
' *************************

[install:SealClub]
1=statusoff,  statusoffSealClub
2=ui,         insert_cd_ui
3=addreg,     SealClub_clearhooks
4=run,        SealClub_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,SealClub_wait_reg,,$
count=5

[statusoffSealClub]

[SealClub_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\SealClub\1.1\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\SealClub\1.1\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\SealClub\1.1\install, DefaultInstallRoot,  $rootdir$

[SealClub_runinstall]
1=$4$\$lang$\SealClub\setup.exe

[SealClub_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\SealClub\1.1\install,InstallComplete,1,value



; *************************
; *                       *
; * Graphil Hagaki Club   *
; *                       *
' *************************

[install:GraphilHagakiClub]
1=statusoff,  statusoffGraphilHagakiClub
2=ui,         insert_cd_ui
3=addreg,     GraphilHagakiClub_clearhooks
4=run,        GraphilHagakiClub_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,GraphilHagakiClub_wait_reg,,$
count=5

[statusoffGraphilHagakiClub]

[GraphilHagakiClub_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\GrHagaki\1.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\GrHagaki\1.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\GrHagaki\1.0\install, DefaultInstallRoot,  $rootdir$

[GraphilHagakiClub_runinstall]
1=$4$\$lang$\GrHagaki\setup.exe

[GraphilHagakiClub_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\GrHagaki\1.0\install,InstallComplete,1,value

; *************************
; *                       *
; * Net Recorder          *
; *                       *
' *************************

[install:NetRecorder]
1=statusoff,  statusoffNetRecorder
2=ui,         insert_cd_ui
3=addreg,     NetRecorder_clearhooks
4=run,        NetRecorder_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,NetRecorder_wait_reg,,$
count=5

[statusoffNetRecorder]

[NetRecorder_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\NetRecorder\3.1\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\NetRecorder\3.1\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\NetRecorder\3.1\install, DefaultInstallRoot,  $rootdir$

[NetRecorder_runinstall]
1=$4$\$lang$\NetRec\setup.exe

[NetRecorder_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\NetRecorder\3.1\install,InstallComplete,1,value


; *************************
; *                       *
; * Live Pix              *
; *                       *
' *************************

[install:LivePix]
1=statusoff,  statusoffLivePix
2=ui,         insert_cd_ui
3=addreg,     LivePix_clearhooks
4=run,        LivePix_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,LivePix_wait_reg,,$
count=5

[statusoffLivePix]

[LivePix_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\LivePix\1.2\install, InstallFinished,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\LivePix\1.2\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\LivePix\1.2\install, DefaultInstallRoot,  $rootdir$

[LivePix_runinstall]
1=$4$\$lang$\LivePix\setup.exe

[LivePix_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\LivePix\1.2\install,InstallFinished,1,value

; *************************
; *                       *
; * URL                   *
; *                       *
' *************************

[install:URL]
1=statusoff,  statusoffURL
2=ui,         insert_cd_ui
3=addreg,     URL_clearhooks
4=run,        URL_runinstall
5=waitreg,    $if,^$bundlemode^$,==,multi,URL_wait_reg,,$
count=5

[statusoffURL]

[URL_clearhooks]
1=HKLM, $softwarepath$, Hewlett-Packard\$divid$\HPURLLIB\1.0\install, InstallComplete,     0, DWORD
2=HKLM, $softwarepath$, Hewlett-Packard\$divid$\HPURLLIB\1.0\install, RebootRequired,      0, DWORD
3=HKLM, $softwarepath$, Hewlett-Packard\$divid$\HPURLLIB\1.0\install, DefaultInstallRoot,  $rootdir$

[URL_runinstall]
1=$4$\$lang$\URL\setup.exe

[URL_wait_reg]
1=HKLM, $softwarepath$\Hewlett-Packard\$divid$\HPURLLIB\1.0\install,InstallComplete,1,value


; *************************
; *                       *
; * Instant Delivery      *
; *                       *
' *************************

[install:id]
1=statuson,     id_statuson
2=ui,           insert_cd_ui
3=installfiles
4=addreg,       id_reg, id_adduninstall
5=addshortcut,  id_addshortcuts
6=adddir,       id_addir
7=run,          id_runschd
count=7

[id_statuson]

[id_reg]
1=HKLM,$softwarepath$,$id_productkey$,                InstallDir,      $rootdir$
2=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_DATA,   $rootdir$\data\
3=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_ICONS,  $rootdir$\data\icons\
4=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_IEPRT,  "$rootdir$\hpidhtml.exe"
5=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_PRTR,   "$rootdir$\hpidprtr.exe"
6=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_SCHD,   "$rootdir$\hpidschd.exe"
7=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, APP_PATH_SUBS,   "$rootdir$\hpidsubs.exe"
8=HKLM,$softwarepath$,$id_productkey$\CurrentVersion, DownloadVersion, 1.1.1.34
9=HKLM,$softwareclassespath$,.hpi,                    ,                hpiFile
10=HKLM,$softwareclassespath$,.hpi,                   Content Type,    application/vnd.hp-hpid
11=HKLM,$softwareclassespath$,hpiFile,                ,                HP Instant Delivery
12=HKLM,$softwareclassespath$,hpiFile,                EditFlags,       65536, binary
13=HKLM,$softwareclassespath$,hpiFile\shell\open\command,              $rootdir$\hpidsubs.exe "%1" "%1"
14=HKLM,$softwareclassespath$,hpiFile\shell\print\command,             $rootdir$\hpidsubs.exe "%1" "%1"
15=HKLM,$softwareclassespath$,hpiFile\shell\printto\command,           $rootdir$\hpidsubs.exe "%1" "%1"
16=HKLM,$softwareclassespath$,MIME\Database\Content Type\application/vnd.hp-hpid,Extension,.hpi
17=HKLM,$softwarepath$,Microsoft\Windows\CurrentVersion\App Paths\hpisubs.exe,,$rootdir$\hpidsubs.exe                                                                     
18=HKLM,$softwarepath$,Microsoft\Windows\CurrentVersion\App Paths\hpisubs.exe,Path,$rootdir$
19=HKLM,$softwarepath$,Microsoft\Windows\CurrentVersion\Internet Settings\Accecpted Documents,hpid,application/vnd.hp-hpid
20=HKLM,$softwarepath$,Microsoft\Windows\CurrentVersion\run,hpidschd.exe -log -- -log,$rootdir$\hpidschd.exe


[id_adduninstall]
1=HKLM,$uninstallpath$,Uninstall\$id_desc$,  Displayname,         $id_reg_uninstall_name$
2=HKLM,$uninstallpath$,Uninstall\$id_desc$,  UninstallString,     $reglookup, HKLM, SOFTWARE\Hewlett-Packard\^$divid^$\^$pnum^$\^$product^$\env, rootdir$\hpfiui.exe -c -huninstall:id -fapps.hpi -vdivid=$divid$ -vpnum=$pnum$ -vproduct=$product$


[id_addshortcuts]
1=hpidsubs.exe, $rootdir$,,, $id_desc$.lnk, $41$, $id_desc$, $id_desc$
2=hpfiui.exe, $reglookup, HKLM, SOFTWARE\Hewlett-Packard\^$divid^$\^$pnum^$\^$product^$\env, rootdir$,,-c -huninstall:id -fapps.hpi -vdivid=$divid$ -vpnum=$pnum$ -vproduct=$product$,$id_uninstall_name$.lnk, $41$, $id_desc$, $id_desc$

[id_addir]
1=$rootdir$,data\icons

[id_runschd]
1=$rootdir$\hpidschd.exe,false


[uninstall:id]
1=set,          id_setup_component
2=messagebox,   id_confirm_uninstall
3=exit,         $if,^$msgbox^$,==,no,doexit,,$
4=statuson,     statuson
5=set,          id_setup_rootdir
6=delfile
7=delfile,      id_delshortcuts
8=deldir,       id_deldir
9=delreg,       id_deluninstall
10=statusoff,   statusoffid
count=10

[id_setup_component]
1=component,$id_desc$

[id_confirm_uninstall]
1=$app_uninst_confirm$,$app_uninst_confirm_caption$,yes_no,question
                                
[id_setup_rootdir]
1=rootdir,$reglookup, HKLM, ^$softwarepath^$\^$id_productkey^$, InstallDir$

[id_delshortcuts]
1=$id_desc$.lnk, $41$\$id_desc$
2=$id_uninstall_name$.lnk, $41$\$id_desc$


[id_deldir]
1=$rootdir$,data\icons
2=$rootdir$,data
3=$rootdir$
4=$41$\$id_desc$

[id_deluninstall]
1=HKLM, $uninstallpath$\Uninstall, $id_desc$,



; *************************
; *                       *
; * insert cd             *
; *                       *
' *************************

[insert_cd_ui]
sequence=10

; *************************
; *                       *
; * strings               *
; *                       *
' *************************

[strings,common]
pf_setupdir=$4$\$lang$\pf
pf_productkey=Streetwise Software\Photon
pf_desc=Professor Franklin
id_desc=HP Instant Delivery
id_uninstall_name=Uninstall HP Instant Delivery
id_reg_uninstall_name=HP Instant Delivery (Remove Only)
id_productkey=Hewlett-Packard\HP Instant Delivery


