Pack ppApps in separate iso
#1
Posted 25 October 2011 - 02:14 PM
I’ve download Amalux’s liveXP project and it’s work perfectly.
I collect many app portables, and would like to put all in un iso file called “ppApps.iso” but I don’t know how to load those apps when liveXP boot up, certainly with ppAppgen script in my project.
I knew that “ppApps.iso” must be mounted automatically when the project startup. Please any one help me out?
Thanks in advance.
#2
Posted 25 October 2011 - 03:54 PM
#3
Posted 25 October 2011 - 04:04 PM
Just curious, what advantage to ISO as opposed to say, UFD/USB or just folder at root of hard drive? The mounted ISO, just like CD/DVD will work (latest ppApps) but will load slower; more like non-RAM PE.I collect many app portables, and would like to put all in un iso file called “ppApps.iso”
#4
Posted 25 October 2011 - 04:40 PM
4 years ago I presented a function which may offer what amateur needs: http://reboot.pro/21...dpost__p__13916
Because of missing interest I put the function to "sleep"
Peter
#5
Posted 26 October 2011 - 02:04 AM
hmm , make a folder ppApps . add all your apps to it , make iso of the root folder. call imdisk mount command from batch file at start up of PE (Runonce) , to automount the iso file while pe boots.
Thanks, could you give a tut? i'm new bie and don't know how to do that...
Just curious, what advantage to ISO as opposed to say, UFD/USB or just folder at root of hard drive? The mounted ISO, just like CD/DVD will work (latest ppApps) but will load slower; more like non-RAM PE.
Thank you for great project, i put in iso file to protect them from virut.
Just for the record:
4 years ago I presented a function which may offer what amateur needs: http://reboot.pro/21...dpost__p__13916
Thanks, i 'll have look.
my iso file is in the root of USB not in CD,can u provide the script for that?
#6
Posted 26 October 2011 - 05:03 PM
Scott
#7
Posted 26 October 2011 - 06:12 PM
I agree, especially since the portables are sfx archives to begin with! The files used are extracted to a temp (RAM) directory and lost on reboot so no real danger of a virus surviving. This is one of the nice advantages to working from PE; the viruses are inactive on an off-line system.I think that your concern over "virus" isn't necessary...
#8
Posted 27 October 2011 - 07:51 AM
usb ,, then the virus can spread into it , which normally spreads through usb drives. new folder.exe or something
.
for this purpose , yes , usb can be more secure . thats what i personally use if i am not using
UD space of fbinst , which hides everything into hidden partition. moreover , i use single WIM file
for both win7 and 2k3 pe , and it loads way faster then iso mounting, may be due to pecmd , i dont know.
but anyhow , it is good suggestion , to start with manual approach . but just for your interest ,here is IMDISK
automount iso command.
@FOR %%I IN (C D E F G H I J K L M N O P Q R S T) DO @IF EXIST %%I:ppApps.iso imdisk -a -f %%I:ppApps.iso
#9
Posted 27 October 2011 - 07:51 AM
usb ,, then the virus can spread into it , which normally spreads through usb drives. new folder.exe or something
.
for this purpose , yes , usb can be more secure . thats what i personally use if i am not using
UD space of fbinst , which hides everything into hidden partition. moreover , i use single WIM file
for both win7 and 2k3 pe , and it loads way faster then iso mounting, may be due to pecmd , i dont know.
but anyhow , it is good suggestion , to start with manual approach . but just for your interest ,here is IMDISK
automount iso command.
@FOR %%I IN (C D E F G H I J K L M N O P Q R S T) DO @IF EXIST %%I:ppApps.iso imdisk -a -f %%I:ppApps.iso
#10
Posted 27 October 2011 - 08:21 AM
thank you so much, but tell me where do i put this commande line? in which script or in *.cmd file?
#11
Posted 27 October 2011 - 01:38 PM
#12
Posted 27 October 2011 - 02:08 PM
*.cmd file launched in script with something like:where do i put this commande line? in which script or in *.cmd file?
Hive_Load,Machine
reg_add,0x2,%reg%MicrosoftWindowsCurrentVersionRunOnce,MountISO,"[hiderun.exe /w ]cmd.exe /C [hiderun.exe /w ]#$q%PElocation%your.cmd#$q"
Hive_Unload,Machine
Set,%PElocation%,%PE_Programs%%ProgramFolder% or #$pSystemroot#$pSys... etc.
[bracketed hiderun stuff] is optional to hide command boxes, remove brackets either way.
#13
Posted 27 October 2011 - 10:10 PM
#14
Posted 28 October 2011 - 07:04 AM
thank you for your script, but i'm still no luck
i copy my file "startup.cmd" to system32 folder, and write your script in autorun.script like below:
Hive_Load,Machine
reg_add,0x2,%reg%MicrosoftWindowsCurrentVersionRunOnce,MountISO,"hiderun.exe /w cmd.exe /C hiderun.exe /w #$pSystemroot#$pSys%startup.cmd#$q"
Hive_Unload,Machine
and startup commandline:
@FOR %%I IN (C D E F G H I J K L M N O P Q R S T) DO @IF EXIST %%I:ppApps.iso imdisk -a -f %%I:ppApps.iso
i've checked my autorun.script:
Title=Autoruns
Selected=False
Level=20
Version=13
is somthings wrong? pls correct it for me..
best regards,
#15
Posted 28 October 2011 - 02:31 PM
Add " -m n:" at the end (n is mount point drive letter).is somthings wrong? pls correct it for me..
so full command:
@FOR %%I IN (C D E F G H I J K L M N O P Q R S T) DO @IF EXIST %%I:ppApps.iso imdisk -a -f %%I:ppApps.iso -m n:
I'm not getting the autorun.script reference but this can be added to any script, make sure it's selected=true
Something missing:
Hive_Load,Machine
reg_add,0x2,%reg%MicrosoftWindowsCurrentVersionRunOnce,MountISO,"hiderun.exe /w cmd.exe /C hiderun.exe /w #$pSystemroot#$pSys%startup.cmd#$q"
Hive_Unload,Machine
should be:
Hive_Load,Machine
reg_add,0x2,%reg%MicrosoftWindowsCurrentVersionRunOnce,MountISO,"hiderun.exe /w cmd.exe /C hiderun.exe /w #$q#$pSystemroot#$pSystem32startup.cmd#$q"
Hive_Unload,Machine
Sorry, I just trailed off there thinking it might be SysWOW64
#16
Posted 28 October 2011 - 06:09 PM
#17
Posted 02 November 2011 - 10:17 AM
http://reboot.pro/14319/
[process]
ExtractAllFiles,"%ScriptFile%","Folder","%Target_Sys%"
Add_Shortcut,Desktop,,"#$pSystemRoot#$psystem32File.bat","File.bat"
*** NEXT EXAMPLES LOAD FILE.BAT ON STARTUP, JUST USE ONE OF THEM AS APPROPRIATE ***
*** DEPENDING ON WHAT FILE.BAT DOES, YOU MAY WANT TO VARY WHEN IT LOADS AT BOOT TIME ***
*** (I.E) DRIVERS YOU MAY WANT TO LOAD EARLY, OTHER TASKS MAYBE NOT SO EARLY ***
*** RUNNING FROM WINPESHL.INI ANYTHING HERE LOADS VERY EARLY IN BOOT ***
TXTAddLine,%target_sys%winpeshl.ini,"File.bat",APPEND
*** RUNNING FROM RUNONCE ***
Hive_Load,HKCU
Reg_add,0x1,%reg%SoftwareMicrosoftWindowsCurrentVersionRunOnce,File.bat,"hiderun File.bat"
Hive_UnLoad,HKCU
*** RUNNING FROM START.CMD ***
If,NOT,EXISTFILE,%TargetDir%Windowssystem32start.cmd,FileCreateBlank,%TargetDir%Windowssystem32start.cmd
TXTAddLine,%TargetDir%Windowssystem32start.cmd,start#$s/min#$sFile.bat,PREPEND
*** RUNNING FROM AUTORUN.CMD ***
TXTAddLine,%TargetDir%windowssystem32autorun.cmd,"File.bat",Append
Add_Shortcut,AutoRun,,"#$pSystemRoot#$psystem32File.bat","File.bat"
Edited by amateur, 02 November 2011 - 10:19 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users