Topic: Adding Remote Support to your image using ScreenConnect  (Read 3897 times)

Adding Remote Support to your image using ScreenConnect
« on: February 26, 2013, 02:46:11 PM »

jcrystal

  • Apprentice
  • *
  • Date Registered: Feb 2013
  • Posts: 7
To add a ScreenConnect persistent guest client connection to Win7PE, perform the following steps.

First, we need to modify the DotNetFx script to add some additional registry entries necessary for the application to detect the presence of DotNet.

Browse into your WinBuilder directory and go to Projects\Win7PESE\Components

Edit the DotNetFx.script file with Notepad
Locate the [WriteSettings] section of the file and replace it with the following

[WriteSettings]
If,NOT,EXISTDIR,%ProjectTemp%\NetFxSxS,DirMake,%ProjectTemp%\NetFxSxS
ExtractAllFiles,%ScriptFile%,SxS,%ProjectTemp%\NetFxSxS
RegHiveLoad,WB-software,%RegSoftware%
RegHiveLoad,WB-COMP,%TargetDir%\Windows\system32\config\components
//
Unpack,Folder,netfx.7z,True,%ScriptDir%,Temp
//
Echo,"Fixing Side by Side..."
IF,%OS%%OSServicePack%,Equal,Win7SP0,Run,%ScriptFile%,SxS_7SP0
IF,%OS%%OSServicePack%,Equal,Win7SP1,Run,%ScriptFile%,SxS_7SP1
IF,%OS%,Equal,WinVista,Run,%ScriptFile%,SxS_Vista
//
IF,%SourceArch%,Equal,x86,Begin
If,%DotNetRunFrom%,Equal,CD,Run,%ScriptFile%,WriteSettingsCD
If,%DotNetRunFrom%,Equal,CD,Run,%ScriptFile%,WriteSettingsCDx86
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\Windows Presentation Foundation","WPFNonReferenceAssembliesPathx86","%PE_Programs%\%ProgramFolder%\Framework\v3.0\WPF\"

RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Version","2.0.50727.5420"

RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Version","3.0.30729.5420"

RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Install",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","InstallPath",""%PE_Programs%\%ProgramFolder%\Framework\v3.5\"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Version","3.0.30729.5420"

End


IF,%SourceArch%,Equal,x64,Begin
If,%DotNetRunFrom%,Equal,CD,Begin
Run,%ScriptFile%,WriteSettingsCD,64
Run,%ScriptFile%,WriteSettingsCD,,"Wow6432Node\"
Run,%ScriptFile%,WriteSettingsCDx64,,"Wow6432Node\"
Run,%ScriptFile%,WriteSettingsCDx86,,"Wow6432Node\"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Version","2.0.50727.5420"

RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Version","3.0.30729.5420"

RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Install",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","InstallPath",""%PE_Programs%\%ProgramFolder%\Framework64\v3.5\"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Version","3.0.30729.5420"

RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0\Setup\Windows Presentation Foundation","WPFNonReferenceAssembliesPathx64","%PE_Programs%\%ProgramFolder%\Framework64\v3.0\WPF\"
RegAddBoot,"HKLM",0x1,"Software\Wow6432Node\Microsoft\NET Framework Setup\NDP\v3.0\Setup\Windows Presentation Foundation","WPFNonReferenceAssembliesPathx86","%PE_Programs%\%ProgramFolder%\Framework\v3.0\WPF\"
End
RegAddBoot,"HKLM",0x1,"Software\Classes\TypeLib\{215D64D2-031C-33C7-96E3-61794CD1EE61}\2.0\0\win64",,"%PE_Programs%\%ProgramFolder%\Framework64\v2.0.50727\System.Windows.Forms.tlb"
RegAddBoot,"HKLM",0x1,"Software\Wow6432Node\Classes\TypeLib\{215D64D2-031C-33C7-96E3-61794CD1EE61}\2.0\0\win64",,"%PE_Programs%\%ProgramFolder%\Framework64\v2.0.50727\System.Windows.Forms.tlb"
End
//
RegHiveunLoad,WB-software
RegHiveunLoad,WB-COMP
DirDelete,%ProjectTemp%\NetFxSxS


Next we need to obtain the ScreenConnect installation file.  Open a web browser and go to your ScreenConnect portal and login.  Go to the Host tab and select Build Installer
Enter a prefix in the dialog (like Win7PE-%COMPUTERNAME%) and download the MSI installer package.  Once completed, use 7-Zip to archive the file to a .7z file.

Next we need to turn the installer into a WinBuilder package.  Run WinBuilder and expand the Win7PE project, then expand Utils at the bottom of the list.
Select PC Packed
Browse to the the archived .7z file you just created in the first selection box, then enter Elsinore.ScreenConnect.GuestClient.msi in the executable field.  Click OK to build the package.

You will find the new package in the WinBuilder folder under the Projects\MyScripts folder

The last step it to enable the script to run automatically on startup
Edit the new Screenconnect script

Locate the [Process] section of the script and append the following to the end of the section

//Autostart
RegHiveLoad,Tmp_Default,%RegDefault%
RegWrite,HKLM,0x2,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,ScreenConnect,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q"
RegHiveUnLoad,Tmp_Default


Now just enable the new script for inclusion in your project build and you're good to go. 

Note:  Each time you boot the disk you will get a new randomly named persistent connection in the ScreenConnect portal.  ScreenConnect will automatically remove orphaned connections after 24 hours of inactivity.


Re: Adding Remote Support to your image using ScreenConnect
« Reply #1 on: February 27, 2013, 12:25:29 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Not tested, thank you for sharing  :thumbsup:
Maybe you can write a standalone script to launch after DotNetFx and depending on it.

:cheers:

Re: Adding Remote Support to your image using ScreenConnect
« Reply #2 on: February 27, 2013, 02:13:47 PM »

jcrystal

  • Apprentice
  • *
  • Date Registered: Feb 2013
  • Posts: 7
The problem with making a script is that the executable for the ScreenConnect client is user specific, as it embeds the connection target information.  To use this, each person really needs to make the script from scratch and embed their own copy of the client installer obtained from their management portal...

Re: Adding Remote Support to your image using ScreenConnect
« Reply #3 on: February 27, 2013, 03:32:58 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Perhaps you can add a FileBox and then copy the ScreenConnect_xxx.msi from it.
I have prepared this one, the beginning

Code: [Select]
[Main]
Title=ScreenConnect
Type=script
Author=jcrystal
Description=Adding Remote Support to your image using ScreenConnect. Required DotNetFx.
Credits=http://TheOven.org
Version=001
Download_Level=2
Level=5
Selected=False
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2013.02.27
Depend=
Disable=
CertifiedBy=
Certification=
HistoryNotes=

[Interface]
pBevel1=pBevel1,1,12,4,6,133,105
pCheckBox1="Desktop shortcut",1,3,8,10,122,18,False
pCheckBox2="Start Menu shortcut",1,3,8,29,122,18,True
pTextBox1="Start Menu folder:",1,0,11,66,119,18,
pCheckBox3=AutoRun,1,3,8,90,122,18,False
ScrollBox_RunFromWhere="Run from Normal",1,4,143,6,130,21,"Run from Normal","Run from RAM","Run from CD"
ScreenC_TextLabel_Info="Point ScreenConnect_xxx.msi",1,1,10,125,156,18,8,Normal
ScreenC_FileBox=%GlobalTemplates%ScreenConnectScreenConnect_xxx.msi,1,13,8,140,450,20,file
Required_pTextLabel="(*) Required DotNetFx Full",1,1,8,180,140,18,8,Bold
pWebLabel1=Plugin,1,10,8,210,61,18,http://theoven.org/index.php?topic=533.0

[Variables]
%ProgramTitle%=ScreenConnect
%ProgramEXE%=ScreenConnect.msi
%ProgramFolder%=ScreenConnect

[Process]
Arch,x86
Echo,"Processing %ScriptTitle%..."
If,Not,ExistFile,%ScreenC_FileBox%,Message,"%ScreenC_FileBox% File Not Found",Error
If,Not,ExistFile,%ScreenC_FileBox%,Exit,"%ScreenC_FileBox% File Not Found"
//--
StrFormat,REPLACE,%ScrollBox_RunFromWhere%,"Run from ","",%Here%
If,Not,%Here%,Equal,Normal,RunFrom,%Here%
//--
FileCopy,%ScreenC_FileBox%,%Target_Prog%\%ProgramFolder%\%ProgramEXE%
//--
//Dependencies
//Set,%PluginArch%,x86
//Require_FileQ,xxx.dll
//--
//Registry
Run,%scriptfile%,WriteSettings
//--
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%
If,%pCheckBox3%,Equal,True,Add_Shortcut,AutoRun
//If,%pCheckBox3%,Equal,True,Begin
//Autostart
//RegHiveLoad,Tmp_Default,%RegDefault%
//RegWrite,HKLM,0x2,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,ScreenConnect,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q"
//RegHiveUnLoad,Tmp_Default
//End

[WriteSettings]

* ScreenConnect_skeleton.7z (3.12 kB - downloaded 150 times.)

#
For Info about PC Packed, it use Share Scripts to create a link between MyScripts and the project.
You will find the new package in the WinBuilder folder under the Projects\MyScripts folder
The new link is available in Apps\AppsMy\1Prepare\

:cheers:
« Last Edit: February 27, 2013, 03:35:59 PM by ChrisR »

Re: Adding Remote Support to your image using ScreenConnect
« Reply #4 on: February 27, 2013, 09:27:19 PM »

jcrystal

  • Apprentice
  • *
  • Date Registered: Feb 2013
  • Posts: 7
OK, here it is, all nice and shiney  :w00t:
Thanks to ChrisR for the script skeleton.

The following script module has been tested to work with both x86 and x64 builds.  Just add your own ScreenConnect installer built from the
web portal under the host tab.

Code: [Select]
[Main]
Title=ScreenConnect
Type=script
Author=JCrystal, ChrisR
Description=Adding Remote Support to your image using ScreenConnect. Required DotNetFx.#$xLogin to your ScreenConnect portal and build a client installer from the host tab.#$xSave the .MSI image to disk and select it in the file selection dialog below
Credits=http://TheOven.org
Version=002
Download_Level=2
Level=5
Selected=False
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2013.02.27
Depend=
Disable=
CertifiedBy=
Certification=
HistoryNotes=

[Interface]
pBevel1=pBevel1,1,12,4,6,133,105
pCheckBox1="Desktop shortcut",1,3,8,10,122,18,False
pCheckBox2="Start Menu shortcut",1,3,8,29,122,18,False
pTextBox1="Start Menu folder:",1,0,11,66,119,18,ScreenConnect
pCheckBox3=AutoRun,1,3,8,90,122,18,True
ScrollBox_RunFromWhere="Run from Normal",1,4,143,6,130,21,"Run from Normal","Run from RAM","Run from CD"
ScreenC_TextLabel_Info="Point to Elsinore.ScreenConnect.GuestClient.msi file",1,1,10,125,356,18,8,Normal
ScreenC_FileBox=,1,13,8,140,450,20,file
Required_pTextLabel="(*) Required DotNetFx Full, MSI Installer",1,1,8,180,260,36,8,Bold
pWebLabel1=Plugin,1,10,8,210,61,18,http://theoven.org/index.php?topic=533.0

[Variables]
%ProgramTitle%=ScreenConnect
%ProgramEXE%=ScreenConnect.msi
%ProgramFolder%=ScreenConnect

[Process]
Arch,x86
Echo,"Processing %ScriptTitle%..."
If,Not,ExistFile,%ScreenC_FileBox%,Message,"%ScreenC_FileBox% File Not Found",Error
If,Not,ExistFile,%ScreenC_FileBox%,Exit,"%ScreenC_FileBox% File Not Found"
//--
StrFormat,REPLACE,%ScrollBox_RunFromWhere%,"Run from ","",%Here%
If,Not,%Here%,Equal,Normal,RunFrom,%Here%
//--
If,Not,ExistDir,%Target_Prog%,DirMake,%Target_Prog%
If,Not,ExistDir,%Target_Prog%\%ProgramFolder%,DirMake,%Target_Prog%\%ProgramFolder%
FileCopy,%ScreenC_FileBox%,%Target_Prog%\%ProgramFolder%\%ProgramEXE%
//--
//Dependencies
//Set,%PluginArch%,x86
//Require_FileQ,xxx.dll
//--
//Registry
Run,%scriptfile%,WriteSettings
//--
If,%pCheckBox1%,Equal,True,Add_Shortcut,Desktop
If,%pCheckBox2%,Equal,True,Add_Shortcut,StartMenu,%pTextBox1%
If,%pCheckBox3%,Equal,True,Add_Shortcut,AutoRun
//Autostart
If,%pCheckBox3%,Equal,True,Begin
RegHiveLoad,Tmp_Default,%RegDefault%
RegWrite,HKLM,0x2,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,ScreenConnect,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q"
RegHiveUnLoad,Tmp_Default
End

[WriteSettings]
RegHiveLoad,WB-software,%RegSoftware%
RegHiveLoad,WB-COMP,%TargetDir%\Windows\system32\config\components
IF,%SourceArch%,Equal,x86,Begin
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Version","2.0.50727.5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Version","3.0.30729.5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Install",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","InstallPath",""%PE_Programs%\%ProgramFolder%\Framework\v3.5\"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Version","3.0.30729.5420"
End

IF,%SourceArch%,Equal,x64,Begin
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v2.0.50727","Version","2.0.50727.5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Install",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.0","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.0","Version","3.0.30729.5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","CBS",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Increment","5420"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Install",0x01
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","InstallPath",""%PE_Programs%\%ProgramFolder%\Framework64\v3.5\"
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","OCM",0x01
RegAddBoot,"HKLM",0x4,"Software\Microsoft\NET Framework Setup\NDP\v3.5","SP",0x02
RegAddBoot,"HKLM",0x1,"Software\Microsoft\NET Framework Setup\NDP\v3.5","Version","3.0.30729.5420"
End

RegHiveunLoad,WB-software
RegHiveunLoad,WB-COMP

Re: Adding Remote Support to your image using ScreenConnect
« Reply #5 on: February 27, 2013, 11:47:20 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
 :thumbsup:
I think it is easier like this for those who want to use.

You can remove the line If,%pCheckBox3%,Equal,True,Add_Shortcut,AutoRun
duplicate with RegWrite,HKLM,0x2,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\RunOnce,ScreenConnect,"#$q%PE_Programs%\%ProgramFolder%\%ProgramEXE%#$q"
And for the author, you can remove me without worry, just a skeleton quickly made with the help of PC Packed plugin. Full credit to you.
but before 10 post, Unfortunately you can not edit, spam protection.

:cheers:

 

Powered by EzPortal