[main]
Title=Shortcuts
Description=Creates Shortcuts to your Build
Selected=None
Level=1
Author=Kare
Version=08
Date=17.06.2020
Translation_DE=MaineCoon

[Interface]
pCheckBox1=False,Desktop,0,0,30,65,120,18
pFrame1=Shortcut Fix Driveletter,707070,0,0,10,30,200,100
pTextLabel1=Only Ramboot,8.5,0,Default,30,95,100,20
//
tEcho_1=Set shortcut settings
tEcho_2=Building userfile


[Interface.07]
Description=Erstellt Desktop und Startmenü-Einträge

pcheckbox1=True,Desktop,0,0,30,65,120,18
pFrame1=Verknüpfung Boot-Laufwerk,707070,0,0,10,30,200,100
pTextLabel1=Nur Ramboot,8.5,0,Default,30,95,100,20
//
tEcho_1=Setze Shortcut-Einstellungen
tEcho_2=Benutzerdatei wird erstellt

[process]

Echo,%tEcho_1%
DirRemove,%PreUserdata%,3
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%app_data%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%cookies%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%mydocs%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%favorites%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%local_sett%\%app_data%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%sendto%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%startmenu_prog_startup%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%startmenu_prog%\%admin_tools%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%temp_internet_files%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%history%
DirMake,%PreUserdata%\%doc_and_sett%\All Users\%templates%

DirMake,%PreUserdata%\%doc_and_sett%\Default User\%app_data%\%ms_ie_quicklaunch%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%cookies%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%desktop%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%mydocs%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%favorites%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%local_sett%\%app_data%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%sendto%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%startmenu_prog_startup%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%temp_internet_files%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%history%
DirMake,%PreUserdata%\%doc_and_sett%\Default User\%templates%

iniwrite,%Projectini%,Shortcut,StartMenu,\%doc_and_sett%\Default User\%startmenu_prog%
iniwrite,%Projectini%,Shortcut,Desktop,\%doc_and_sett%\Default User\%desktop%
iniwrite,%Projectini%,Shortcut,QuickLaunch,\%doc_and_sett%\Default User\%app_data%\%ms_ie_quicklaunch%
iniwrite,%Projectini%,Shortcut,Autostart,\%doc_and_sett%\Default User\%startmenu_prog_startup%
iniwrite,%Projectini%,Shortcut,AD,\%doc_and_sett%\ALL Users\%startmenu_prog%\%admin_tools%
update,Shortcut
//iniwrite,%Projectini%,Shortcut.BSExplorer,StartMenu,\bs_start.ini
//iniwrite,%Projectini%,Shortcut.BSExplorer,Desktop,\bs_desktop.ini
//iniwrite,%Projectini%,Shortcut.BSExplorer,QuickLaunch,\bs_qlaunch.ini
//iniwrite,%Projectini%,Shortcut.BSExplorer,Autostart,\%doc_and_sett%\Default User\%startmenu_prog_startup%
//iniwrite,%Projectini%,Shortcut.BSExplorer,AD,\%doc_and_sett%\ALL Users\%startmenu_prog%\%admin_tools%

//setmacro,Add_Shortcut,Shellexecute,hide,%tools%\%Projectfolder%\Shortcut.exe,#$q%PreUserdata%#$q #$q%Projectini%|BSExplorer#$q #$q#1#$q #$q#2#$q #$q#3#$q #$q#4#$q #$q#5#$q #$q#6#$q #$q#7#$q #$q#8#$q,PERMANENT
//setmacro,Add_Shortcut,Shellexecute,hide,%Tools%\Shortcut.exe,#$q%PreUserdata%#$q #$q%Projectini%#$q #$q#1#$q #$q#2#$q #$q#3#$q #$q#4#$q #$q#5#$q #$q#6#$q #$q#7#$q #$q#8#$q,PERMANENT

If,%CDboot%,=,True,then
	Add_Shortcut,StartMenu,".",x:\I386\System32\PEInit.exe,"Fix Y-Drive,,-drvletter,setupapi.dll#$c16
	if,%pcheckbox1%,=,true,then,Add_Shortcut,Desktop,".",x:\I386\System32\PEInit.exe,"Fix Y-Drive,,-drvletter,setupapi.dll#$c16
end


[createuserfile]

Echo,%tEcho_2%
FileDelete,%TargetDir%\UserRam.exe,1
Pack,Compress,%PreUserdata%,%Projecttemp%\user.zip
ShellExecute,Hide,%Tools%\zip2exe.exe,#$q%Tools%\user-%arch%.sfx#$q #$q%Projecttemp%\user.zip#$q #$q%TargetDir%\UserRam.exe#$q

//ShellExecute,Hide,%Tools%\7z.exe,"a -t7z -sfx #$q%TargetDir%\UserRam.exe#$q -r #$q%PreUserdata%\*#$q -aoa -mmt -mx9 -x!filled"
IniWrite,%Target_sys%\PEinit.ini,Init,004,RunWait||x:\UserRam.exe|%RamDrive%

[Script-Pic]
0=2424,3044,ZLB64
1=eNqlz2k81PseB/D/mBl71pKdiBSDIZMt87KNrY5kCzGhCdmOkOFMFGVJmWyFOipLOCI7MYiZ4TBpsjNkGSFUZohGxszRed17ntwn93Xv5/vk+3t9HnzfP+4Edw4Qs0fZoQDQ/lzaH4DLAZTOWJtbKbtg/APDwkPCA4Iwkcp2Yf7aym5wbV04wJ0CLAGe/zP7V4wEcYG+1y77h/8ai9PThcN14Ho6ugbKcIQxHG5sABd0wURGwc5ZClpZu1mfcTwH07XWMzdEnQS4JFARAICgoL8D/CsgHjAEysvHLyAoBALAoH/nP0oxgAcEBvNAwFAoBLLf3NjvAIg4VOII3JxX0smXTyXioN6tzOf8qha1XYfODzKO6vtdSxQQlDosLSOrpn5M4/iJkwaIU4ZGxpZW1igbWzt7ZxdXN/cLHp7+lzFXAgKDrkZGRV+PwcbGJd2+k5ySmnY3Kzsn9+GjvPyCouKS0hdl5RV/1NU3NDY1t7xu7SaSyD29f/b1Dw2PjI6NT0zS5ukLHxeXlj+trDI3Nr9tbX9n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