Jump to content











Photo
- - - - -

first frustration


  • Please log in to reply
2 replies to this topic

#1 lianzi2000

lianzi2000

    Member

  • Members
  • 43 posts
  •  
    United States

Posted 04 June 2008 - 01:54 AM

As practice, I wrote an extremely simple script tried to add passware "office key" program to vistaPE. All necessary files are compressed with 7z and attached in WinBuilder (see below). However, when the script runs I keep getting error "ExtractFile - Failed to expand file: [offkey.7z] to: [D:\Home\Projects\VistaRescue\Root\Program Files\OfficeKey]". Could anyone give a clue? Thanks a million!

lianzi2000

my script code:

[main]
Title=Office key
Description=Office key decrypts Micro$oft Office passwords
Selected=True
Level=5
Version=1

[variables]
%ProgramTitle%=Office key
%ProgramEXE%=offkey.exe
%ProgramFolder%=OfficeKey

[process]
Echo,Processing %ProgramTitle%...
RunFromRam,True
Unpack,Files,offkey.7z,True
Add_Shortcut,StartMenu
Add_Shortcut,Desktop

[EncodedFolders]
Folder

[EncodedFile-Folder-offkey.7z]
lines=1025
0=N3q8ryccAAI1iZpvfgMwAAAAAAAlAAAAAAAAAEW4F..........

#2 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 04 June 2008 - 06:37 AM

Change

Unpack,Files,offkey.7z,True

to
Unpack,Folder,offkey.7z,True
or
Unpack,,offkey.7z,True

Regards,
Galapo.

#3 lianzi2000

lianzi2000

    Member

  • Members
  • 43 posts
  •  
    United States

Posted 04 June 2008 - 01:25 PM

Change

to

Unpack,Folder,offkey.7z,True
or
Unpack,,offkey.7z,True

Regards,
Galapo.



Yeah, thanks! I actually figured out last night, I tried to delete the original post but did not know how.

Thanks again!

lianzi




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users