Jump to content











Photo
* * * * - 4 votes

LiveXP -- Anything & Everything


  • Please log in to reply
1937 replies to this topic

#1926 olegpov

olegpov

    Frequent Member

  • .script developer
  • 309 posts
  • Location:Orel
  • Interests:BSD systems

Posted 08 September 2010 - 08:39 AM

@ Galapo , Lancelot
Urgently I recommend on default switch to disable System optimize option in WimBoot.script
Because use of this option by not experienced users will lead to occurrence of untrue reports about errors!!!

#1927 Aye Htay

Aye Htay

    Frequent Member

  • Advanced user
  • 163 posts
  •  
    Myanmar

Posted 14 September 2010 - 02:43 PM

Hi LiveXP World,

Very fantastic world.
My LiveXP with wimboot is here.
Thanks to all of you, esp: Nikzzzz :hyper:

My LiveXP
Added 15.09.10
My Full LiveXP

ah

#1928 Zerojinny

Zerojinny

    Newbie

  • Members
  • 22 posts

Posted 03 November 2010 - 12:03 PM

Problem in XPE DirectX script

When used as a source of SP3, some files are missing.

This error is due to the following statement that Line 731 between line 755.

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:msyuv.dll #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:psisdecd.dll #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:bdaplgin.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:ipsink.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:ksproxy.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:kstvtune.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:kswdmcap.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:ksxbar.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:msdvbnp.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\SP2.cab#$q -F:psisrndr.ax #$q%target_sys%#$q"

If you modify it as follows: Even with SP3 as the source file is copied successfully.

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:msyuv.dll #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:psisdecd.dll #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:bdaplgin.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:ipsink.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:ksproxy.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:kstvtune.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:kswdmcap.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:ksxbar.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:msdvbnp.ax #$q%target_sys%#$q"

ShellExecute,hide,expand.exe,"#$q%source_sys%\%spCabFile%#$q -F:psisrndr.ax #$q%target_sys%#$q"


#1929 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 03 November 2010 - 07:58 PM

Hi Zerojinny

What is the version of XPE DirectX script you have ?

(open xpe_directx.script with notepad, in [Main] section check number besides Version=)

#1930 Zerojinny

Zerojinny

    Newbie

  • Members
  • 22 posts

Posted 04 November 2010 - 01:18 AM

Hi Zerojinny

What is the version of XPE DirectX script you have ?

(open xpe_directx.script with notepad, in [Main] section check number besides Version=)


It's version is 9.

#1931 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 04 November 2010 - 01:24 AM

Hi Zerojinny,

verry sorry, you are right. There seems a misorganisation during packing last package

can you test current v9 ( :hyper: ) on server
http://livexp.boot-l..._directx.script

be sure next xp directx will be v10 :hi:

#1932 Zerojinny

Zerojinny

    Newbie

  • Members
  • 22 posts

Posted 04 November 2010 - 04:19 AM

Hi Zerojinny,

verry sorry, you are right. There seems a misorganisation during packing last package

can you test current v9 ( :cheers: ) on server
http://livexp.boot-l..._directx.script

be sure next xp directx will be v10 :hyper:


HI, Lancelot.

It works correctly.

Thank you for the check. :hi:

#1933 LeoMoon

LeoMoon
  • Members
  • 7 posts
  •  
    Canada

Posted 22 February 2011 - 08:38 AM

Hello, I'm trying to add a damn shortcut to the desktop and I haven't been able to figure it out.
Everything gets copied fine but the shortcut path is wrong. It shows B:\Program Files\Pstart.exe
There is an application at: [PE Drive Letter]:\portables\Pstart.exe
I want to have a shortcut @ the desktop to that program.

Here is what I have:
[process]
Echo,"Creating %ProgramTitle%..."
DirCopy,"%ScriptDir%\PStart\*.*","%TargetDir%\portables"
Add_Shortcut,Desktop,,,,,,"%PDRIVE%\portables\%ProgramEXE%"

I tried these too and lots more which I don't remember:
Add_Shortcut,Desktop,"%PDRIVE%\portables\%ProgramEXE%"
Add_Shortcut,Desktop,"%PDRIVE%\portables\Pstart.exe"
Add_Shortcut,Desktop,"%USBdrive%\portables\%ProgramEXE%"
Add_Shortcut,Desktop,"%USBdrive%\portables\Pstart.exe"

So I'm out of ideas and I don't what I'm doing wrong.

BTW I know that this application doesn't have a program folder. I did it on purpose.

Tnx.

#1934 pscEx

pscEx

    Platinum Member

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

Posted 22 February 2011 - 09:10 AM

Appearently during shortcut generation has %PDRIVE% the value 'B:' (Check with Echo,%PDRIVE%), and that is inserted.

If you want to write the string '%PDRIVE%', you have to use escapes:
Add_Shortcut,Desktop,,,,,,"#$pPDRIVE#$p\portables\%ProgramEXE%"

Program Files <> Portables:

Did you define
[variables]

%ProgramTitle%=???

%ProgramEXE%=???

%ProgramFolder%=???

Correctly?

Peter

EDIT: BTW your syntax defines the icon for the shortcut.
I think you want to define the exe.
That is
Add_Shortcut,Desktop,,"%PDRIVE%\portables\%ProgramEXE%"
or
Add_Shortcut,Desktop,,"#$pPDRIVE#$q\portables\%ProgramEXE%"
resp.
Take care of the TWO commas!

Complete Syntax:

Add_Shortcut,[Type],[Folder],[FullFileName],[Title],[Work Folder],[Parameters],[IconFile( .ico .exe)],[StartMode(1, 2, 3, or 4)]



#1935 LeoMoon

LeoMoon
  • Members
  • 7 posts
  •  
    Canada

Posted 22 February 2011 - 10:29 PM

Tnx for explaining.

Here is the problem. I used ProgramFilesPE and changed "Program Files" to "Portables".

I have a simple script inside Apps folder with structure like this.
Portable -> PStart -> Pstart.exe
Portable -> Pstart -> Pstart.xml
Portable -> Pstart.script

Pstart.script will copy everything inside Pstart folder to portables folder.
Now I want to make a shortcut to [PE Driver]:\portables\Pstart.exe on the desktop.

This is what I have and it does not work.


[Main]

Title=PStart

Author=Amin

Level=5

Version=010

Description=PStart

Locked=false

Contact=

Date=22.02.2010

Selected=True

Download_Level=1



[variables]

%ProgramTitle%=Pstart

%ProgramEXE%=PStart.exe

%ProgramFolder%=Pstart



[Interface]

pCheckBox1="Add desktop shortcut",1,3,35,63,145,18,True

pCheckBox3="Add quicklaunch shortcut",1,3,4,24,160,18,True

pCheckBox2="Add start menu shortcut",1,3,35,98,145,18,True

pCheckBox4="Add startup shortcut",1,3,4,60,160,18,True

pTextBox1="Start menu folder:",1,0,36,133,168,21,"PStart"



[process]

Echo,"Creating %ProgramTitle%..."

DirCopy,"%ScriptDir%\PStart\*.*","%TargetDir%\portables"

Add_Shortcut,Desktop,,"#$pPDRIVE#$p\portables\Pstart.exe"


Tnx again for your help.

#1936 LeoMoon

LeoMoon
  • Members
  • 7 posts
  •  
    Canada

Posted 23 February 2011 - 07:12 AM

Nobody has a solution?

#1937 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 23 February 2011 - 07:40 AM

Either this


[Main]

Title=PStart

Author=Amin

Level=5

Version=010

Description=PStart

Locked=false

Contact=

Date=22.02.2010

Selected=True

Download_Level=1



[variables]

%ProgramTitle%=Pstart

%ProgramEXE%=PStart.exe

%ProgramFolder%=portables



[Interface]

pCheckBox1="Add desktop shortcut",1,3,35,63,145,18,True

pCheckBox3="Add quicklaunch shortcut",1,3,4,24,160,18,True

pCheckBox2="Add start menu shortcut",1,3,35,98,145,18,True

pCheckBox4="Add startup shortcut",1,3,4,60,160,18,True

pTextBox1="Start menu folder:",1,0,36,133,168,21,"PStart"



[process]

Echo,"Creating %ProgramTitle%..."

DirCopy,"%ScriptDir%\PStart\*.*","%TargetDir%\portables"

Add_Shortcut,Desktop


or this


[Main]

Title=PStart

Author=Amin

Level=5

Version=010

Description=PStart

Locked=false

Contact=

Date=22.02.2010

Selected=True

Download_Level=1



[variables]

%ProgramTitle%=Pstart

%ProgramEXE%=PStart.exe



[Interface]

pCheckBox1="Add desktop shortcut",1,3,35,63,145,18,True

pCheckBox3="Add quicklaunch shortcut",1,3,4,24,160,18,True

pCheckBox2="Add start menu shortcut",1,3,35,98,145,18,True

pCheckBox4="Add startup shortcut",1,3,4,60,160,18,True

pTextBox1="Start menu folder:",1,0,36,133,168,21,"PStart"



[process]

Echo,"Creating %ProgramTitle%..."

DirCopy,"%ScriptDir%\PStart\*.*","%TargetDir%\portables"

Add_Shortcut,Desktop,,%PE_Programs%\portables\%ProgramEXE%


Regards,
Galapo.

#1938 LeoMoon

LeoMoon
  • Members
  • 7 posts
  •  
    Canada

Posted 23 February 2011 - 09:27 AM

Thanks for the samples.

I tried it like that too.

Both of the samples will create a shortcut to:
[Ram Drive]:\portables\portables\PStart.exe

It also creates 2 folders called PStart.exe and PStart.xml. And yes they are folders.

It's VERY strange!!!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users