Jump to content











Photo
- - - - -

ClassicShell-script available?


  • Please log in to reply
37 replies to this topic

#1 Holger

Holger

    Silver Member

  • .script developer
  • 534 posts
  • Location:Munich
  • Interests:- programming / scripting
    - scooter driving / modifying
    - writing poems
  •  
    Germany

Posted 07 May 2010 - 05:45 AM

(I know I had to work on new "PENetMgr" :lol: ...)

However, I just wanted to know if somebody has already developed a script for the ClassicShell-utility from:
http://classicshell.sourceforge.net/
I did take a look yesterday and seems to be possible to use also the internal restart and shutdown functions.
These functions only need to be rewritten - it's a open source program - developed in C++.
Also it's running under 64bit.
Some things can be defined in an 'ini' file, some in registry and some customation with skins.
I use this program some month now under Windows 7 so why not using it under Win7 PE...

Greets
Holger

#2 Holger

Holger

    Silver Member

  • .script developer
  • 534 posts
  • Location:Munich
  • Interests:- programming / scripting
    - scooter driving / modifying
    - writing poems
  •  
    Germany

Posted 07 May 2010 - 08:00 PM

Did some tests with the source and changed shutdown command.
Works as expected.
So shutdown and reboot is now directly from classic startmenu available :lol:
Will do some more test with possible ini and reg entries...
Greets
Holger

Attached Files



#3 M. Safdar

M. Safdar

    Newbie

  • Members
  • 23 posts
  •  
    Pakistan

Posted 15 May 2010 - 08:46 PM

Did some tests with the source and changed shutdown command.
Works as expected.
So shutdown and reboot is now directly from classic startmenu available :(
Will do some more test with possible ini and reg entries...
Greets
Holger


@Holger

Please post the script.

#4 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 16 May 2010 - 06:48 PM

Looks nice, here's simple script

http://www.mediafire...ClassicShell.7z

#5 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 16 May 2010 - 09:38 PM

@JFX : just a short test with win7rescuepe and nativeEx_Win7 : does not work ... this script is only for win7pe, isn't it?

#6 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 16 May 2010 - 11:02 PM

@patsch Yes may works with win7pe SE only. It will not work in the frozen project you mentioned.

As there is a x86 & x64 version of Classic Shell and it also only works with Vista & Win7 sources,
script make use of %SourceArch% & %OS% variables.

#7 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 05 September 2010 - 08:42 PM

Hi,

Tanks for the ClassicShell script it works fine but the function to Reboot and Shutdown doesn't work.

@Holger: Do you have a version compiled to work inside PE? I guess the shutdown and restart need to be done calling winpeutil.

___
Rui Paz

#8 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 07 September 2010 - 09:13 AM

Nice shell,I put the script of JFX in complement of explorer shell, it is beautiful and works well. Thanks for the information :D

Posted Image Posted Image

@ Holger
I see your screenshot,
how did you change the border "Windows ™ Code Name" in "Windows7PE" ?
how did you integrate the links for reboot and shutdown at the bottom of the Start menu ?

#9 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 07 September 2010 - 09:32 AM

Hi Chris,

I'm working on a new update for this script to include the last version available, the new version can have the shutdown/reboot actions changed using the configuration without recompile.

I have to look on the code how if i find the way to fix the "Windows ™ Code Name", i use to program on C/C++ long long time ago and now i don't know nothing about this Visual Studio stuff but i will do my best.

#10 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 07 September 2010 - 01:08 PM

Thank you Rui Paz
I leave you to write the script and test the new version of Classic shell.
For "Windows ™ Code Name" Maybe with resource hacker. Holger must be able to answer (his screenshot).
For "Windows code Name", just change in StartMenu.ini : MenuCaption=Win7PE
Posted Image

#11 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 07 September 2010 - 01:13 PM

Thank you Rui Paz
I leave you to write the script and test the new version of Classic shell.
For "Windows ™ Code Name" Maybe with resource hacker.


Hi,

No need to use the Resource Hacker because the source is available also i already found the solution it reads the text from registry so i only need to set the registry key to change the text :D

___
Rui Paz

#12 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 07 September 2010 - 02:29 PM

I edit my precedent post with the solution (see screenshot)
For "Windows code Name", just change in StartMenu.ini : MenuCaption=Win7PE

#13 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 07 September 2010 - 03:02 PM

I edit my precedent post with the solution (see screenshot)
For "Windows code Name", just change in StartMenu.ini : MenuCaption=Win7PE


Hi,

Tanks for the suggestion, checking the program source it reads the information from registry on this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion and use the text from ProductName key i'm not sure if its better to put this on the registry or on the INI.

By the way do you know why on the script.project file the var Target_Prog is set to Programs and not Program Files?
%Target_Prog%=%TargetDir%\Programs
//%Target_Prog%=%TargetDir%\Program Files

#14 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 07 September 2010 - 03:28 PM

RunFromRam,true = Program Files (in wim file)
RunFromRam,false = Programs

RunFromRam,%pCheckBox1%

[Interface]

pCheckBox1="Run from Ram",1,3,16,32,227,18,False

It seems well with the regitry key (maybe in a textbox for customization)

#15 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 07 September 2010 - 04:01 PM

It seems well with the regitry key (maybe in a textbox for customization)


I'm not sure if its save to change that registry key so i use the ini file and set the name automatically based on the OS source used:

- Win7: Windows 7 PE
- WinVista: Windows Vista PE

#16 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 08 September 2010 - 01:32 PM

I wrote a script for classic shell with options Shutdown, Restart and Explorer are included in the menu (StartMenuItems.ini)
I'll let you see and give me feedback.

Posted Image

Classicshell

#17 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 08 September 2010 - 04:49 PM

I wrote a script for classic shell with options Shutdown, Restart and Explorer are included in the menu (StartMenuItems.ini)
I'll let you see and give me feedback.

Posted Image

Classicshell


I'm working on the script, it will have the options to shutdown and restart directly from the ClassicShell menu.
Users will also have the choice to integrate with ShutdownPE...

#18 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 09 September 2010 - 09:09 AM

Hi Rui

A question of Papeuser, He like the Classic shell ... :D
Should your classic shell display recently used programs?

To show recent programs you can add this key : RegWrite,HKLM,0x4,WB_USER\Software\IvoSoft\ClassicStartMenu,"ShowRecent",1

#19 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 09 September 2010 - 12:40 PM

Hi Rui

A question of Papeuser, He like the Classic shell ... :D
Should your classic shell display recently used programs?

To show recent programs you can add this key : RegWrite,HKLM,0x4,WB_USER\Software\IvoSoft\ClassicStartMenu,"ShowRecent",1


Hi,

Option added to the script interface...

#20 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 10 September 2010 - 01:54 PM

Hi Rui?

i played around with classic shell and I published in post 16 above, a new script. Hoping not to disturb you in your development !

#21 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 10 September 2010 - 02:57 PM

Hi Rui?

i played around with classic shell and I published in post 16 above, a new script. Hoping not to disturb you in your development !


Hi,

No problem i use some ideas from your script and also from the inicial JFX script, mine is almost ready only need to dig if i can enable the explorer toolbar by default...
I can only work on this on my spare time and because its my first script for WinPE7 it takes me some time to study the right way to do things. Also i have to do some changes on the project to speed the build process like using pre-mounted WIM's because the mount/dismount of wim files take a long long time on my laptop.

By the way i also did some changes to make the build process to use imagex from WAIK if installed because using a old one included on the project at the same time you have a more recent version installed gives me troubles.
___
Rui Paz

#22 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 10 September 2010 - 09:53 PM

ClassicShell Script v3 for Classic Shell v2.8.3 Beta

Hi,

Finally my ClassicShell.script is ready for the public, i hope :hyper:
Some screens...

Posted Image Posted Image
Normal Shutdown/Restart ---------- Shutdown/Restart using ShutdownPE

Features/problems of the script:
- the settings files included don't have any change the script will adjust the files on the target folder
- user can select the skin to use, number of columns and Recent Programs List
- Shutdown and Restart can be done directly from the Classic Shell menu, no need to use extra shortcuts
- option to use ShutdownPE for Shutdown/Restart instead of winpeutil
- at the moment the search for files doesn't work so its disabled
- the explorer toolbar isn't working also...

Notice:
The script use plain files instead of compressed and encoded files inside the script, i really don't like to have files "hidden" sorry. I guess probably some people don't like this option but for me this way is more simpler to do future updates on the program files and also its more simple to someone change some settings on the INI program files.

Script download: ClassicShell_v3
Note: Extract file to Addons folder
___
Rui Paz

#23 ChrisR

ChrisR

    Silver Member

  • .script developer
  • 784 posts
  •  
    France

Posted 11 September 2010 - 01:02 PM

Thanks a lot Rui Paz :hyper:

I like the Classic shell... Classic shell is a very good shell addon to Explorer or µExplorer (with integrated shutdown). :)

I added few options to your good script :
- x64 and x86 support (not the same program depending of the platform installation) all files are now inside the script for that.
- Explorer /e to suport USB
- Show profile picture
- Option for Search
- An additional customized oprion

Posted Image

Script download: ClassicShell_v4a
Note: Extract file to Shell folder. Name : 6-ClassicShell.script

#24 befrielse

befrielse

    Member

  • Members
  • 32 posts
  •  
    Sweden

Posted 11 September 2010 - 02:30 PM

Looks Great! But what win7PE version should i use to easy add this stuff?

I'm using amalux win7pex right now. Is it possible to add this script?

#25 Rui Paz

Rui Paz

    Frequent Member

  • Advanced user
  • 201 posts
  •  
    Portugal

Posted 11 September 2010 - 03:21 PM

Thanks a lot Rui Paz :)

I like the Classic shell... Classic shell is a very good shell addon to Explorer or µExplorer (with integrated shutdown). :hyper:


Yes i like it too.

I added few options to your good script :
- x64 and x86 support (not the same program depending of the platform installation) all files are now inside the script for that.


Doesn't my script do that already?

- Explorer /e to suport USB
- Show profile picture
- Option for Search
- An additional customized oprion


The sky is the limit... ;)

Script download: ClassicShell_v4
Note: Extract file to Shell folder. Name : 6-ClassicShell.script


I personally don't agree with your classification because Classic Shell isn't really a Shell like BS Explorer 2 or BbLean that can completely replace Explorer as Shell.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users