Jump to content











Photo
* * * * * 1 votes

[script] New Explorer script(008) and more


  • Please log in to reply
33 replies to this topic

#1 Ove

Ove

    .script developer

  • .script developer
  • 192 posts
  • Location:Fagaras, Romania
  •  
    Romania

Posted 05 September 2006 - 05:59 PM

Hi

I have further modified my scripts
Now they support QuickLaunch, complex shortcuts, and Windows Picture and Fax viewer

Get them at ove.boot-land.net

#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 05 September 2006 - 06:40 PM

Hi Ove I just wanted to ask if you have added the

the following line needs to be added to the end of the Process line of the Explorer Script. It fixes missing icons.
IniWrite,"%ProjectInfo%","UPX-Switches","Shell32.dll","-9 --compress-icons=0"

Thanks for updates. will test.

#3 Nuno Brito

Nuno Brito

    Platinum Member

  • Team Reboot
  • 10,210 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 05 September 2006 - 06:41 PM

Excellent work! :P

#4 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 05 September 2006 - 07:50 PM

Quick test. Sleepy. lol!

Thanks for fixing the Icons missing.

You added the UPX using AutoUPX. mmmm!

Thanks for adding the Option to have or not have the RamDrive Shortcut on Desktop.



Testing. The Build seemed to go just fine. I received 3 new errors.
The Build is created and it boots up.

Bug or error Message comes up.
Internet Explorer 6 personal settings init
The file X:\i386\system32\homepage.inf is not found on the system.
Posted Image


Clicked on the OK button. It seems to load fine. Except that the Screensaver System Tray icon is showing. This is using the default PeLoader. Havent tested with Nu2Shell or the Minlogon. Need to point this to Holger. He might be able to fix it.
Posted Image


Using the Boot from RAM Option on create ISO script.

How can I test Windows Picture and Fax viewer. I tried clickin on my Wallpaper but nothing happened. It also needs to be shown in the Open with Dialog, similar to the Notepad Option. What is the name of the Windows Picture and Fax viewer in the CD. Cant seem to find it.

Will test further with regular ISO when I get up. :P :P

Log
[attachment=279:attachment]

Have I said I :P this Project. And all the people willing to help out.

#5 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 06 September 2006 - 08:43 AM

Testing again with RAM BOOT and Smiley new Updated Make ISO Script. Also tested with Regualar ISO.

This time I dont seem to get the 3 errors during build up. Could have something to do with the Updated Create ISO script Im testing.

Log
[attachment=281:attachment]


During boot up Im still getting the popup window.
Internet Explorer 6 personal settings init
The file X:\i386\system32\homepage.inf is not found on the system.

This time the ScreenSaver shows for a few secons on the sytem tray and then it disapears. Still a bug with the ScreenSaver Script. Might need an update. Will mention it to Holger in his thread.

The Quick Launch toolbar is on by default but does not show up. You have to right click on the Taskbar and select the "Lock the Taskbar" to deselect it in order for the LaunchBar toolbar to show up. This might change if a person creates a app that requires a shortcut on the QuickLaunch. So this implemented approach is good if QuickLaunch shows up if a shortcut points to use QuickLaunch. have to wait till someone adds that to there app to test the Quicklaunch further. Good job so far. I was able to drag a shortcut to the Quick Launch and it showed up in the Quick Launch bar. I had to disable the Lock Taskbar first.

Before
Posted Image

After disabling the "Lock the Taskbar" option. You can see the QuickLaunch Toolbar now.
Posted Image


I cant see Windows Picture and Fax viewer even though its active in the Options and Tweaks of the Explorer Script. In order to test and see if I could view images. I put some bmp, png, gif, animated gif, and jpg in the build, but when I click on them i get the Windows cannot open this file message dialog. Since I dont know where picture viewer is or whats its program name is, I cant point to where it is.
Posted Image

I just notice you have the option to not show the My Documents On Desktop.

Great job on the updates. It Surprised me alot since we havent seen you post much. But WOW!. Is all i can say. I wasnt expecting Quick Launch to come this soon. Especially when I heard it was hard to implement. :P


The next post will be about what I find that is missing and hope that it will be updated in the future.

#6 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 06 September 2006 - 09:09 AM

I thnk that quick launch needs some shortcuts to be created before with the !QL option. I'll test it now...

#7 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 06 September 2006 - 09:29 AM

@TheHive: QuickLaunch works great! I have created a new version of the notepad script(i'm going to relese it in the future) which support quick launch shortcuts.When it booted, i had to deactivate the quicklaunch from taskbar and acivate it again and the i saw the shortcut :P

@Ove:Can you make your script to create the shortcuts in the quicklaunch before the taksbat appears and the other shortcuts after?I think that it will solve the refresh problem with the taskbar

#8 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 06 September 2006 - 10:08 AM

Windows picture and fax viewer
Couldnt get it to work. But if it did. It would be good to give the user the options to what files Associations it should handle. That way in the future it will not conflict if someone creates an Application plugin that handles or takes over some of those Associations.


Explorer Script

Would be good to have a way to disable QuickLaunch if someone doesnt want to use it or include it in there build.

The ability to enable or disable My Documents on Desktop. I wasnt expecting it as a choice. But seing it now, it seems to be a very good implementation as a user choice now. :P

The wallpaper part could improve in the future. I was thinking something like:

Having JPG(s) wallpaper will save space on disk. The gif(s) just for fun.
Posted Image

JPG ability based on this thread. If you read both pages you get a better idea.
http://www.911cd.net...&...ost&p=89254

Might be a solution on how to implement Jps based on using the Web\Wallpaper folder.

robvdb
jpg's were copied from my live system (C:\Windows\Web\Wallpaper) folder.


Zharif
robvdb,

Problem solved!
I love lucky accidents!

asycfilt.dll must be copied.

http://www.911cd.net...&...ost&p=89322


Oh my goodness im quoting frodo. :P

frodo
No worries, i agree, on my normal system the wallpapers are in the location i mentioned before (c:\windows\web\wallpaper) which becomes i386\web\wallpaper when on PE.

I found out the location had to be set as above when i set XPE up on my PE CD to use .JPG wallpaper instead of bloated .BMP's


This topic brought up by Pavel covers having gif support
Animated gif as a wallpaper on Reatogo, How to set gif picture on build? Options
http://www.911cd.net...l=gif wallpaper

RamDisk Script:
No suggestions. The otpion to add a Shortcut to Desktop is the only thing I could think of that would bee needed. And it already is so. :P


Registry Editor and TaskManager Scripts:
They both could use similar options as the Notepad script to allow the user to choose where to put the shortcuts and what to name the shortcut name. Thats all I can think would make them more :P.

:P

#9 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 06 September 2006 - 10:11 AM

@TheHive: QuickLaunch works great! I have created a new version of the notepad script(i'm going to relese it in the future) which support quick launch shortcuts.When it booted, i had to deactivate the quicklaunch from taskbar and acivate it again and the i saw the shortcut :P

@Ove:Can you make your script to create the shortcuts in the quicklaunch before the taksbat appears and the other shortcuts after?I think that it will solve the refresh problem with the taskbar

Thank you for testing that. :P

#10 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 06 September 2006 - 11:13 AM

I have done more testing . If i add this line to the explorer script i don't get the error messege :P

FileCreateBlank,"%TargetDir%\i386\system32\homepage.inf"


#11 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12,449 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 06 September 2006 - 05:02 PM

@Ove

I tested with German XP SP2 and W2003 using autoLocalize.Script.
All possible shortcuts are checked.

Both have error-free logs
(In W2003 there is an error that a file HAL... was not found. That's a problem of the C&E script. This file really does not exist in W2003)
Both show the shortcuts in start menu.
Both do not show the shortcuts on desktop.

Additionally XP shows an 'FILE NOT FOUND' error during startup:
[attachment=284:attachment]

Compare test: XP without autoLocalization.Script:
No shortcuts in start menu.
No shortcuts on desktop.

A hint to your scripts:
You misunderstood how autoUPX works.

Because it is logically belonging to the autoUPX thread, i wrote it there

Peter

#12 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 06 September 2006 - 10:12 PM

Additionally XP shows an 'FILE NOT FOUND' error during startup:
[attachment=284:attachment]


If you enter this line in the explorer.script the error is gone :P :
FileCreateBlank,"%TargetDir%\i386\system32\homepage.inf"


#13 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 07 September 2006 - 10:08 AM

If you enter this line in the explorer.script the error is gone :P :

FileCreateBlank,"%TargetDir%\i386\system32\homepage.inf"


Where in the Script should we input this line?

#14 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 07 September 2006 - 10:55 AM

Where in the Script should we input this line?


Everywhere you want :P

#15 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 07 September 2006 - 11:13 AM

Thanks!
I added tha code on line 14 but it didnt work. I still get the popup.

ok added it at the end of the process and now it works. No more popup.

#16 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12,449 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 07 September 2006 - 11:17 AM

Thanks!
I added tha code on line 14 but it didnt work. I still get the popup.


May I refine Smiley's answer a little bit: :P

Everywhere in the [process] section where you want. :P

Peter

#17 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 07 September 2006 - 11:31 AM

May I refine Smiley's answer a little bit: :P

Everywhere in the [process] section where you want. :P

Peter

:P

#18 Ove

Ove

    .script developer

  • .script developer
  • 192 posts
  • Location:Fagaras, Romania
  •  
    Romania

Posted 07 September 2006 - 11:37 AM

The missing homepage.inf file issue has been fixed in ver 009

QuickLaunch SHOULD autorefresh if you use PELoader!

I'll review the AutoUPX docs

#19 Ove

Ove

    .script developer

  • .script developer
  • 192 posts
  • Location:Fagaras, Romania
  •  
    Romania

Posted 07 September 2006 - 03:57 PM

I fixed some of the problems in the last build:

Windows Picture and fax viewer didn't work in WinXP beacause of a DLL file not copied to the WinSxS folders. It is fixed now.

Windows Picture and fax viewer didn't work in Win2003 beacause it was UPXed and for some reason it didn't want to work UPXed. I unUPXed it.

None of my scripts UPX anything anymore ( I got the AutoUPX script ), except the explorer script that UPXes explorer.exe, beacause AutoUPX doesn't do that.

@psc:
I have also noticed that the AutoUPX script does NOT UPX these files. UPXing them would greatly reduce the source!!

advpack.dll
browselc.dll
clb.dll
ginaorg.dll
iernonce.dll
printui.dll
rpcss.dll
shdoclc.dll
ulib.dll
winlogon.exe
xpsp2res.dll

Please fix that

That's all for now. Hope it works

#20 phox

phox

    Silver Member

  • .script developer
  • 764 posts

Posted 07 September 2006 - 05:20 PM

@psc:
I have also noticed that the AutoUPX script does NOT UPX these files. UPXing them would greatly reduce the source!!

advpack.dll
browselc.dll
clb.dll
ginaorg.dll
iernonce.dll
printui.dll
rpcss.dll
shdoclc.dll
ulib.dll
winlogon.exe
xpsp2res.dll


The folowing files are not UPXed, but could be:

ADVAPI32.dll
authz.dll
comctl32.dll
comdlg32.dll
crypt32.dll
cryptui.dll
lsasrv.dll
mpr.dll
msasn1.dll
msprivs.dll
msvcrt.dll
ole32.dll
oleaut32.dll
regapi.dll
rpcrt4.dll
secur32.dll
shlwapi.dll
storprop.dll
urlmon.dll
winsta.dll

In addtion you could remove from USBSticks.script folowing files:

usbd.sys
usbehci.sys
usbhub.sys
usbohci.sys
usbport.sys
usbstor.sys
usbuhci.sys

The sy_ versions of these files are in drivers folder from base Copy .script!

#21 phox

phox

    Silver Member

  • .script developer
  • 764 posts

Posted 07 September 2006 - 05:32 PM

@psc:


Peter,

please change UPX .script in folowing way:

1. UPX Shell32 with svich --compress-icons=0,
2. Notepad.exe could be fully UPXed.
3. Other three files (Comctl32.dll, Mfc42.dll and Mfc42u.dll)
from WinSxS folder could be fully UPXed.

Thank you!

#22 smiley

smiley

    Silver Member

  • .script developer
  • 905 posts
  •  
    Greece

Posted 07 September 2006 - 05:36 PM

2. Notepad.exe could be fully UPXed.


Notepad can't be fully upxed. If you right click on desktop explorer crashes

#23 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 07 September 2006 - 07:26 PM

Thank you for the updates. Updated to latest and Testing

http://www.boot-land...?...gopid=1994

The Notepad Quicklaunch shortcut is working. I like the way it works well with the new Quicklaunch addon. It shows the icon when there is a shortcut available if not the Taskbar will look like the Quicklaunch is not active. That is a very good implementation of the Quicklaunch.

Quicklaunch
Posted Image

I :P the implementation of the Quicklaunch.

One suggestion to it: Add the option to the Script gui to add the Quicklaunch Toolbar to the build or not.


Windows Picture and Fax viewer
Posted Image

Tested with Jpg, Gif, animated gif, png, and BMP. They all work, and the gif is animated. :P
Posted Image
:P :P

It seems that with this update the Screensaver is not showing up in the system tray anymore. Seems to work as before and as intended.

#24 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 07 September 2006 - 08:29 PM

Tested the iso in Vmware and the Notepad icon in the Quicklaunch doesnt show up.


http://www.boot-land...?...post&p=2000

#25 TheHive

TheHive

    Platinum Member

  • .script developer
  • 3,831 posts

Posted 08 September 2006 - 08:56 AM

The quicklaunch shortcuts icons dont seem to show up in Vmware. They show up in Qemu and MS virtual PC fine but not in Vmware.

http://www.boot-land...?...post&p=2000

Tested the iso in Vmware and the Notepad icon in the Quicklaunch doesnt show up.

Can someone else test it under there ISO under Vmware.



If you disable and then enable quicjlauch in the taskbar, the shortcut will show.Now it's up to oves work to refresh...



Yeah! that works. Thanks!