Jump to content











Photo
- - - - -

Explorer and Desktop icons


  • Please log in to reply
8 replies to this topic

#1 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 06 July 2007 - 08:23 PM

I have a good build of VistaPE beta with the exception of Explorer icons. Icons other than the standard Vista desktop icons are missing the visual part of the icon. The icons have names below the visual part. The visual part is only an outline. I can double click the icon and the application will open.

I have three columns of icons. Screen resolution is 1024 X 768 32Bit.

!. Do I need the shortcut.script?
2. Where does the shortcut.script go in the project?
3. What are the current versions of Explore.script and shortcut.script?

I have searched the forum - just a little confused...

Vista beta=vistape.boot-land.net/beta
Built with: Vista Home Prem.

#2 martinr

martinr

    Frequent Member

  • Advanced user
  • 120 posts

Posted 08 July 2007 - 07:49 PM

I. Do I need the shortcut.script?
2. Where does the shortcut.script go in the project?
3. What are the current versions of Explore.script and shortcut.script?

1 & 2. I don't believe that there is a shortcut.script. Vpeldr.exe, which runs as part of the boot up process, creates a file called shortcut.inf, which is installed in the Windows\system32 folder. You could examine this to see if there is a problem with your shortcuts.

3. The current version of the Explorer script is explorerv.script in the Addons folder, which you will have downloaded when you got Version 9. Mine is dated 19 May 2007.

From the way you put your query, I would assume that you have opted to use Explorer as your shell. Do you have the same problem if you use LiteStep, which most of us choose to do?

#3 Dani S

Dani S

    Newbie

  • Members
  • 13 posts
  • Location:Toronto, ON
  • Interests:Industrial/EBM, Funker Vogt, Windows Servers, ASP.NET, custom boot disks
  •  
    Canada

Posted 12 July 2007 - 04:31 PM

1 & 2. I don't believe that there is a shortcut.script. Vpeldr.exe, which runs as part of the boot up process, creates a file called shortcut.inf, which is installed in the Windows\system32 folder. You could examine this to see if there is a problem with your shortcuts.

3. The current version of the Explorer script is explorerv.script in the Addons folder, which you will have downloaded when you got Version 9. Mine is dated 19 May 2007.

From the way you put your query, I would assume that you have opted to use Explorer as your shell. Do you have the same problem if you use LiteStep, which most of us choose to do?


Hi there, I have the same issue with my icons, and no it isn't the same thing with LiteStep (icons work in litestep). When I check the properties of the icon it is set to the active folder, and not the icon exe file. I am going to try to set the %Icon% variable in the script to the exe name and see what happens. I will post my results in this thread.

#4 Dani S

Dani S

    Newbie

  • Members
  • 13 posts
  • Location:Toronto, ON
  • Interests:Industrial/EBM, Funker Vogt, Windows Servers, ASP.NET, custom boot disks
  •  
    Canada

Posted 12 July 2007 - 05:20 PM

Hi there, I have the same issue with my icons, and no it isn't the same thing with LiteStep (icons work in litestep). When I check the properties of the icon it is set to the active folder, and not the icon exe file. I am going to try to set the %Icon% variable in the script to the exe name and see what happens. I will post my results in this thread.


That fixed the problem! My PE 2.0 disks works beautifully now :yahoo: (with explorer might I add)

#5 Sirquil

Sirquil

    Frequent Member

  • Advanced user
  • 108 posts
  • Location:Indianapolis, Indiana
  •  
    United States

Posted 12 July 2007 - 07:06 PM

Thanks to Martinr and Dani S for their replys.

I prefer to use BS Explorer, it gives me the option to do a Windows Recover that I do not see elsewhere in my builds. Vista explorer is enabled when I make a build. I will make another build with Dani S's suggestion about using the %Icon% variable.

#6 Dani S

Dani S

    Newbie

  • Members
  • 13 posts
  • Location:Toronto, ON
  • Interests:Industrial/EBM, Funker Vogt, Windows Servers, ASP.NET, custom boot disks
  •  
    Canada

Posted 12 July 2007 - 07:14 PM

Thanks to Martinr and Dani S for their replys.

I prefer to use BS Explorer, it gives me the option to do a Windows Recover that I do not see elsewhere in my builds. Vista explorer is enabled when I make a build. I will make another build with Dani S's suggestion about using the %Icon% variable.


Hehe, I just built a script to handle exactly what you said... but i haven't tested it yet!

Basically the script copies the files from the sources folder and puts it into the programs folder...

Here is the script:

Name it WinRE.SCRIPT

[Main]
Title=Windows Recovery Environment
Author=Dani S
Level=5
Version=001
Description=Needs Windows Vista DVD as source
Locked=false
Contact=dani s
Date=12.07.2007
Selected=True
Download_Level=2

[Variables]
%VistaPECompatible%=Yes
%OutDir%=Recovery
%Category%=System
%Executable%=RecEnv.exe
%ProgramName%=Windows Vista Recovery Environment
#next not requested
%StartParameters%=
%Description%=Windows Vista Recovery Environment
%Icon%=RecEnv.exe

[Process]
Echo,Processing %ProgramName%
IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
If,"%SourceType%",NotEqual,"VistaCD",Exit,"Request Windows Vista DVD..."
IniRead,%VistaInfo%,"VistaInfo","Language","%DistLang%"
DirMake,"%TargetDir%\Programs\Recovery"
DirMake,"%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\PssWiz.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\RecEnv.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\StartRep.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\PssWiz.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\RecEnv.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\StartRep.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
ShortcutStartMenu
ShortcutDesktop

#7 martinr

martinr

    Frequent Member

  • Advanced user
  • 120 posts

Posted 13 July 2007 - 10:10 AM

Hehe, I just built a script to handle exactly what you said... but i haven't tested it yet!

Basically the script copies the files from the sources folder and puts it into the programs folder...

I haven't tried your script, but I can tell you that you don't need to copy the Recovery Tools. They are already there. They are copied over in Standard-1-files.script, provided of course that the checkbox in that script has been checked.

All you need in your own script will be the shortcut entries to get the tools into the menu and desktop.

#8 Dani S

Dani S

    Newbie

  • Members
  • 13 posts
  • Location:Toronto, ON
  • Interests:Industrial/EBM, Funker Vogt, Windows Servers, ASP.NET, custom boot disks
  •  
    Canada

Posted 13 July 2007 - 01:49 PM

I haven't tried your script, but I can tell you that you don't need to copy the Recovery Tools. They are already there. They are copied over in Standard-1-files.script, provided of course that the checkbox in that script has been checked.

All you need in your own script will be the shortcut entries to get the tools into the menu and desktop.


I know that the files are already there, but I don't know how to locate the current CD ROM drive within the environment to put a shortcut in, which is why I copy the files from the folder on the CD to the other location on the Y: drive. Also, that script doesn't work, but here is a script that does work:

The script is not the greatest, but it does the job...

[Main]
Title=Windows Recovery Environment
Author=Dani S
Level=5
Version=001
Description=Needs Windows Vista DVD as source
Locked=false
Contact=dani s
Date=12.07.2007
Selected=True
Download_Level=2

[Variables]
%VistaPECompatible%=Yes
%OutDir%=Recovery
%Category%=System
%Executable%=RecEnv.exe
%ProgramName%=Windows Vista Recovery Environment
#next not requested
%StartParameters%=
%Description%=Windows Vista Recovery Environment
%Icon%=RecEnv.exe

[Interface]
pCheckBox1="Run from ram (set to false)?",1,3,10,40,200,18,False

[Process]
Echo,Processing %ProgramName%
IniRead,%VistaInfo%,"VistaInfo","SourceType","%SourceType%"
If,"%SourceType%",NotEqual,"VistaCD",Exit,"Request Windows Vista DVD..."
IniRead,%VistaInfo%,"VistaInfo","Language","%DistLang%"
DirMake,"%TargetDir%\Programs\Recovery"
DirMake,"%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\PssWiz.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\RecEnv.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\StartRep.exe","%TargetDir%\Programs\Recovery"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\PssWiz.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\RecEnv.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
FileCopy,"%TargetDir%\sources\Recovery\%DistLang%\StartRep.exe.mui","%TargetDir%\Programs\Recovery\%DistLang%"
ShortcutStartMenu
ShortcutDesktop

#9 martinr

martinr

    Frequent Member

  • Advanced user
  • 120 posts

Posted 13 July 2007 - 05:18 PM

@ Dani S

Yes. This works too:
[Main]

Title=Windows Recovery Environment

Author=martinr

Level=5

Version=008

Description=Sets Shortcuts for WinRE

Locked=false

Contact=

Date=13.07.2007

Selected=True



[Variables]

%PName%=Windows Recovery Environment



[Process]

Echo,Creating WinRE Shortcuts...

TXTAddLine,%ES%,"x:\sources\recovery\recenv.exe,System\%PName%.lnk,x:\sources\recovery","Append"

TXTAddLine,%ES%,"x:\sources\recovery\recenv.exe,!DS\%PName%.lnk,x:\sources\recovery","Append"
It would probably be better to just add the shortcuts in at the end of the [RecTools] section in Standard-1-files.script.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users