[project] New Make Script
#226
Posted 08 June 2009 - 01:38 PM
#228
Posted 08 June 2009 - 04:54 PM
Edit: Ok, since the last Windows Update (yesterday => installed via "Install and shut down"-option) killed my notebook, I hadn't time to try it. Hopefully I will have time tomorrow.
Edit: Another thing is, that if I add a registry file to the source, it stops at "Wait - Processing". It won't even go to the next screen, where it usually builds the script. The registry file is about 40KB and was recorded and exported using InstallRite 2.5. Isn't it compatible with InstallRite's Registry exports?
I still wasn't able to get it working with the To_Target_Win. Also I do not see an Option "Copy files from source". I only see an Option for naming the folder.
Ok. The Registry seems to be a problem with the MakeScript Script inside WinBuilder. With your MakeScript.exe it loaded the registry fine.
Edit: Ok, i copied 7za.exe (nothing to overwrite), reg2WBSprg.exe (this files was about 2 KB smaller than the other one) and WBzip.exe from your MakeScript.7z to VistaPE\Tools and overwrote the files there. Now that script is also adding the values to the registry.
Edit: Ok, the problem, that it won't get to the point, where MakeScript compiles is, because the reg2WBSprg.exe, which comes with the MakeScript.script, seems to be broken.
Edit: Is there a way I can just use a setup and the registry file, so MakeScripts knows that it has to "install" the Program?
#229
Posted 13 June 2009 - 12:19 AM
Rather edit many time your same post make a new one , then i 'm informed by email that there is new post
Registry from InstallRite ==> no that don't work
In Makescript I use Reg2WBSprog from psc last version here
Search in forum about this program and it's possibility
Rather installing MakeScript in %Tools% if you get problem
try install it in c:\makescript\ or other but outside your Winbuilder Folder
Start by a simple app for begin
#230
Posted 15 June 2009 - 12:04 PM
#231
Posted 15 June 2009 - 12:20 PM
Because it search required tools in differentl folder depending on where MakeScript is installed
I make it a little complex . so that's why you get some problem
#232
Posted 24 January 2010 - 04:47 PM
I'm new here and really newbie, so i have downloaded the standalone version to make a new script to test my first own script program with LiveXP. I can create the script with "MakeScript" and if i try to test it in QEMU it has a shortcut on the desktop and in start menu but unable to open the program it says that is no longer work properly like it doesn't find the exe to execute.
Can someone help me out, please?
Thank you
m4dm4Xz
Ps: I use WinBuilder 078 SP6 and the latest Makescript.7z (standalone) create the script in another folder from LiveXP and copy my script to WinBuilder078SP6\Projects\LiveXP\Apps\File Tasks folder. Oh i try to create editplus script.
#233
Posted 24 January 2010 - 04:59 PM
And that is done by inluding the (zipped) log.html in the post.
Nobody of the forum's members has the "magic crystal ball" and can tell you w/o the log, what's going wrong.
Peter
#234
Posted 24 January 2010 - 05:03 PM
Ps: attached file removed
#235
Posted 24 January 2010 - 05:09 PM
Needed:
The log of a COMPLETE build (including your newly created script) until the run into qEmu.
Peter
#236
Posted 24 January 2010 - 06:04 PM
[Main] Title=EditPlus 2 Description=This script will include EditPlus 2 in your PE build. Selected=True Level=5 Version=001 Date=24/1/2010 Author= Credit= [Variables] %ProgramEXE%=editplus.exe %ProgramFolder%=EditPlus 2 %ProgramTitle%=EditPlus 2 [Process] RunFromRam,%CheckBoxRAM% If,%CheckBoxSM%,Equal,True,Add_Shortcut,StartMenu If,%CheckBoxDE%,Equal,True,Add_Shortcut,Desktop Unpack,EditPlus 2 Unpack,bin,,,,%ProgramFolder%\bin Unpack,include,,,,%ProgramFolder%\include Unpack,3.4.2,,,,%ProgramFolder%\include\c++\3.4.2 Unpack,backward,,,,%ProgramFolder%\include\c++\3.4.2\backward Unpack,bits,,,,%ProgramFolder%\include\c++\3.4.2\bits Unpack,debug,,,,%ProgramFolder%\include\c++\3.4.2\debug Unpack,ext,,,,%ProgramFolder%\include\c++\3.4.2\ext Unpack,bits_1,,,,%ProgramFolder%\include\c++\3.4.2\mingw32\bits Unpack,ddk,,,,%ProgramFolder%\include\ddk Unpack,GL,,,,%ProgramFolder%\include\GL Unpack,sys,,,,%ProgramFolder%\include\sys Unpack,lib,,,,%ProgramFolder%\lib Unpack,debug_1,,,,%ProgramFolder%\lib\debug Unpack,3.4.2_1,,,,%ProgramFolder%\lib\gcc\mingw32\3.4.2 Unpack,include_1,,,,%ProgramFolder%\lib\gcc\mingw32\3.4.2\include Unpack,3.4.2_2,,,,%ProgramFolder%\libexec\gcc\mingw32\3.4.2 Unpack,bin_1,,,,%ProgramFolder%\mingw32\bin Unpack,ldscripts,,,,%ProgramFolder%\mingw32\lib\ldscripts [Interface] Bevel_1=,1,12,21,12,171,39 CheckBoxRAM="Run from ram (boot.wim)",1,3,33,23,168,18,False Bevel_2=,1,12,21,67,171,81 TextLabel_Shortcut="Create shortcuts in :",1,1,27,75,117,18,8,Normal CheckBoxSM="StartMenu",1,3,30,94,129,18,True CheckBoxDE="Desktop",1,3,30,115,96,18,True [EncodedFolders] EditPlus 2 bin include 3.4.2 backward bits debug ext bits_1 ddk GL sys lib debug_1 3.4.2_1 include_1 3.4.2_2 bin_1 ldscripts [EncodedFile-EditPlus 2-ansi.ctl] lines=0 0=eJw1lvdyW3UUhP/Wzuw7CEw5AhKkWyXAgCoYQhJi0yHgxE4icGJjO432DvAG9N5777333nvvve74HGY8I+830tXuN/f+RiMTYxMr+qPtleNj1fWbJucn1y9Ozy8QI2MrB6uI/tRwcfXM1oVqd2Y4tzi9Y7G6YrhufnJ+Z3VbY3m9un1+uLg4vaW6bme1P76sO7t5buvicMvG5cTEpuFCd cNwZrqq17n52W3Dqemp6uRCdbK6MLl5TlxXXLrgTFxwdkP1/2/T50fGV62ZGN1C6N+J0TS1pFGr7ELs4jmzJKlVdiV29ZxbktYqI8TaEQeFJVmtshuxm+fSkrxW2Z3Y3XP TkqJW2YPYw3PLkrJW2ZPYcylndUuatYoR5rlhSatWqRE1z4kl7VplL2IvzyrYqVX2Jvb2rILdWmUfYh/PKtirVZYRyzyrX79W0dDlntVvUKvsS+zruWlpvVapE3XPLUsloEE0lnJet1QCEiLx3LBUAlIi9ZxYqv0 ZkXlOLdX+nMg9Z5Zqf0EUnnNLtb8kSs+FpdrfJJqeS0u1v0W0PKuf9u9H7OdZ/bR/f2L/pVyon/YfQBzgWf20f5QY9ax+2n8gcaBn9dP+g4iDPGeWaf/BxMGec8u0v020PReWaX+H6HguLdP+LtH13LRM+3tEz3PLMu3v645eymXdMu0fEAPPDcu0/xDiEM+JZdp/KHGo59Qy7R8jxjyrn/YfRhz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sJ58vEi8GCCxnny8RLwUILWefLxMvBwgs558vEK8EiC3nny8SrwaoLCe f LxGvBagtJ58vE68HkBN5eMN4o0AaiofbxJvOtAZ1JOPt4i3AqipfLxNvB1ATeXjHeKdAGoqH+8S7wbIr C 8f7xHvBcitLx/vE+8HKKwvHx8QHwQorS8fHxIfBmhaXz4+Ij4K0LK+fHxMfOwgrVtfPj4hPgnQsL58fEp8GiCxvnx8Rnw WILW+fHxOfB5ATeXjC+KLAGoqH18SXwZQU/n4ivgqgJrKx9fE1wHUVD6+Ib4JoKby8S3xrQP92h3Ix3fEdwEaNpCP74nvAyQ2kI8fiB8CpDaQjx+JHw NkNpCPn4ifAuQ2kI+fiZ8DFDaQj1+IXwKUNpCPX4lfAzRtIB+/Eb8FaNlAPn4nfneg370D+fiD+COAmsrHn8SfAdRUPv4i/gqgpvLxN/F3ADWVj3+IfwKoqXz8S+hv5D+9HLd5eJzjSMwrztRLLslhGAUjEQjxQujtbNjl53LNq2dgAgDWXgXHG0 wvGQEAAAACAAAAJAAAALcGAAAAAAAAAQAAAAAAAAAAAAAA [EditPlus 2] ansi.ctl=1791,2388 codepage.txt=1234,1646 combobox.ini=694,926 config.stx=390,520 control.ctl=595,794 cpp.acp=315,420 cpp.stx=681,908 cs.stx=17144,22869 css.ctl=486,648 css.stx=1929,2572 css2.ctl=817,1090 default0_mac=65,87 default1_mac=65,87 default2_mac=65,87 default3_mac=65,87 default4_mac=65,87 default5_mac=65,87 default6_mac=65,87 default7_mac=65,87 default8_mac=65,87 default9_mac=65,87 editplus.cnt=578,771 editplus.exe=604948,806992 EDITPLUS.GID=5009,6681 editplus.hlp=136192,181678 editplus.ini=689,919 eppie.exe=11128,14844 eppshell.dll=14200,18942 html.ctl=1000,1334 html.stx=1606,2142 html4.ctl=1287,1716 htmlbar.acp=952,1270 java.stx=13295,17735 js.stx=741,988 jsp.stx=1212,1616 launcher.exe=11326,15108 license.txt=912,1216 myHTML-Template.html=454,606 perl.acp=294,392 perl.stx=1248,1664 php-template.php=448,598 php-template.php.bak=401,535 php.stx=7011,9352 php5.2.6.stx=46282,61740 php5.2.6.zip=43895,58555 readme.txt=2648,3531 remove.exe=20299,27078 setting.ini=899,1199 SETUP.LOG=136,182 template.cpp=180,240 template.html=263,351 template.ini=231,308 template.java=178,238 template.pl=121,162 tool.ini=574,766 vb.stx=936,1248 xml.stx=440,587 [EncodedFile-EditPlus 2-codepage.txt]
That's from my script before the "Encoded File" section start because after that is a long code the acctually size of my script is 17.6mb(zipped), so i give the upper code but when it doesn't help i search an upload host later.
Ps: attached file removed
#237
Posted 24 January 2010 - 06:14 PM
I think that either MakeScript or WinBuilder has some troubles with the name.Unpack can not find Section [EditPlus 2] !!
I do not remember, anywhen having seen a section with a space in the name.
Try to rename everything to EditPlus_2.
Peter
#238
Posted 24 January 2010 - 06:24 PM
Thank you very much to help me, vielen vielen dank echt spitze das sie mir hier weiter helfen. :-)
#239
Posted 24 January 2010 - 06:47 PM
I understand that you for your tests want to have a minimized build time, and you do not need 'other functionality' in the PE.okay and can i uncheck another point to build the pe faster? Now i have unchecked all appz.
Thank you very much to help me, vielen vielen dank echt spitze das sie mir hier weiter helfen. :-)
You can unselect a couple more scripts.
But to explain, is rather difficult.
Try this:
There exists a project "nativeEx" which is the root of LiveXP.
All the fundamental scripts should be identic (I hope that Lancelot and me did not make too many mistakes in syncronizing).
Download this project.
You can click the "nativeEx" server in the download page, and you have to download _barebone and _core.
(If you want, define 'Minimum'. But the delivered 'Standard' will not take remarkable more time)
Do a first build to check, and then add your script, which is under development.
If everything works well, you can go back to LiveXP.
Peter
#240
Posted 24 January 2010 - 07:18 PM
#241
Posted 24 January 2010 - 07:32 PM
But for the first we (if i can call it) are a little further on.
Thank you
m4dm4Xz
#242
Posted 24 January 2010 - 07:42 PM
That has been your first step to become a successful .script developer!
Whenever you have more questions, do not worry to ask them.
See at my signature ...
Peter
#243
Posted 24 January 2010 - 07:52 PM
Try this:
Download this project.
You can click the "nativeEx" server in the download page, and you have to download _barebone and _core.
Peter
Uhmm, I'm little confused i'm very sorry for my english it's poor.
1) From where should i download it, Winbuilder > Stable version or from the stable projects category?
2) If i download the winbuilder and update through winbuilder, can i get the same version as from the stable projects category who is in the winbuilder download page?
3) But i can not use the old winbuilder that i used to build LiveXP, right?
i'm very sorry for my english and for these questions. But thank you for your time.
m4dm4Xz
Edit: thank you and i really happy for the first script but that's all with your great help.
#244
Posted 24 January 2010 - 08:37 PM
The usual way to download a new project, in this case "nativeEx":Uhmm, I'm little confused i'm very sorry for my english it's poor.
1) From where should i download it, Winbuilder > Stable version or from the stable projects category?
2) If i download the winbuilder and update through winbuilder, can i get the same version as from the stable projects category who is in the winbuilder download page?
3) But i can not use the old winbuilder that i used to build LiveXP, right?
In the WinBuilder which you already have, there is a 'Download button' in the upper right.
Click and wait, until image is stable.
Check 'nativeex.boot-land.net' in the right and wait again.
Check "nativeEx_Barebone", "nativeEx_Core" and "Tools" in the left.
Click "Download" button and be patient for some minutes.
The project tree will come back and you can check 'nativeEx_barebone'.
Do nothing else than to define your source CD. Build the project.
It SHOULD run into qEmu.
Peter
#245
Posted 24 January 2010 - 09:04 PM
#246
Posted 24 January 2010 - 09:18 PM
right click on shortcut and check target box to get a clue.it says that is no longer work properly like it doesn't find the exe to execute.
wb078sp6 is fine for your tasks.Ps: I use WinBuilder 078 SP6 and the latest Makescript.7z (standalone) create the script in another folder from LiveXP and copy my script to WinBuilder078SP6\Projects\LiveXP\Apps\File Tasks folder. Oh i try to create editplus script.
Short answer: use project's winbuilder version. As far as I know you started with LiveXP project, than use wb077rc2, available here1) From where should i download it, Winbuilder > Stable version or from the stable projects category?
yes (after download also check project page(s) to see which wb version used to build the projects)2) If i download the winbuilder and update through winbuilder, can i get the same version as from the stable projects category who is in the winbuilder download page?
To clear, here is the current version summary of projects:3) But i can not use the old winbuilder that i used to build LiveXP, right?
LiveXP: officially wb077rc2 ( wb078sp6 (and probably wb078sp7) can also be used.)
VistaPE-Capi: wb078sp4 and later
Multi7PE: I am not sure, but I guess wb078sp4 and later will be fine
Win7RescuePE: wb078sp4 and later
Vista Leopard: wb078sp4 and/or later
nativeex_rescuepe: latest wb
pe21: wb076
nativepe: wb074 , wb072
....
Whatever the project you use, you will quickly learn which wb version to use .
***
I see you start to understand basics of script writing, I advice you to pack apps files than attach to scripts. This will result with a smaller sized script with simpler coding.
here is an example:
pack Edit_Plus files to an archive with name Edit_Plus.7z
copy paste following to a editplus2b.txt file,
[Main] Title=EditPlus 2b Description=This script will include EditPlus 2 in your PE build. Selected=True Level=5 Version=001 Date=24/1/2010 Author= Credit= [Interface] Bevel_1=,1,12,21,12,171,39 CheckBoxRAM="Run from ram (boot.wim)",1,3,33,23,168,18,False Bevel_2=,1,12,21,67,171,81 TextLabel_Shortcut="Create shortcuts in :",1,1,27,75,117,18,8,Normal CheckBoxSM="StartMenu",1,3,30,94,129,18,True CheckBoxDE="Desktop",1,3,30,115,96,18,True [Variables] %ProgramEXE%=editplus.exe %ProgramFolder%=EditPlus 2 %ProgramTitle%=EditPlus 2 [Process] RunFromRam,%CheckBoxRAM% If,%CheckBoxSM%,Equal,True,Add_Shortcut,StartMenu If,%CheckBoxDE%,Equal,True,Add_Shortcut,Desktop unpack,,Edit_Plus.7zrename it to editplus2b.script and put to your apps..... folder,
open winbuilder, choose script,
click edit
click attachment
click add
==>new page will open
click add
choose Edit_Plus.7z
click start
----->back to main screen.
Probably you already made a build previously,
if so click "small green button" on this new edit plus script,
than on "LiveXP\Finish\2 Create Image\Create ISO" script, choose "create iso" script and click "Create a New ISO" button.
now test with your emulator to see how things goes. (or choose LiveXP\Finish\3 Emulation\ qEmu script and press small green button on the script)
tip: when packing to Edit_Plus.7z , do not pack the folder, pack the files and folders within the folder.
edit: minor addings
#247
Posted 24 January 2010 - 09:50 PM
Oh, thank you and right i'm beginning to learn about script writing.***
I see you start to understand basics of script writing, I advice you to pack apps files than attach to scripts. This will result with a smaller sized script with simpler coding.
hmm, i'm little confused(again) you sayed packed files of editplus but don't pack the folder, so should i pack the files one by one(they are very much) or pack all files and folders inside the "editplus folder" into one packed file.tip: when packing to Edit_Plus.7z , do not pack the folder, pack the files and folders within the folder.
If i pack files one by one how can i named it all to editplus.7z with the same name?
m4dm4Xz
#248
Posted 24 January 2010 - 10:11 PM
I build my first nativeEX_barbone image with no warnings but if i try it with QEMU, i see only a blue background. Then i tested it again with VMware and see the blue background for a long time after that some errors came up.The usual way to download a new project, in this case "nativeEx":
In the WinBuilder which you already have, there is a 'Download button' in the upper right.
Click and wait, until image is stable.
Check 'nativeex.boot-land.net' in the right and wait again.
Check "nativeEx_Barebone", "nativeEx_Core" and "Tools" in the left.
Click "Download" button and be patient for some minutes.
The project tree will come back and you can check 'nativeEx_barebone'.
Do nothing else than to define your source CD. Build the project.
It SHOULD run into qEmu.
Peter
It says:
An error has occured while setting up "browseui.dll". This error has been logged, the installation will continue
the same with shdocvm.dll and then
Windows cannot find 'R:\resShort.exe'Make sure you wright the name correctly...
after that it reboots
Ps: I didn't edit anything downloaded it and press blue build button. My source is XP SP2 Original with no hotfixes. I attached the log file too. :-)
#249
Posted 24 January 2010 - 10:12 PM
nope, I wrote "pack the files and folders within the folder" but you are right to get confusion because of my bad english.you sayed packed files of editplus but don't pack the folder
what I am trying to explain is this:
to pack files, "do not do this"
browse inside folder, select all files (CTRL+A) and do this
This is my preference due to my experiences. not a limitation of wb or projects, "do not do this" also can be used by different script writing which I am sure you will learn in a shortwhile and understand why I choose the other way
#250
Posted 24 January 2010 - 10:48 PM
m4dm4Xz
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users