Jump to content

AlienMacHine

Member
  • Posts

    8
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by AlienMacHine

  1. Hello, I tried to make some Injections (Thread) to my WPI 5.6. My problem is that only the "Open ... now" Injections work (ie. Open Commandprompt now). ALL other Injections (I use Checkbox and Radiobuttons) DO NOT work!! Where is my fault?? Here is an example which does not work: prog[pn]=['Notepad++ 4.02'] uid[pn]=['NOTEPADPP'] desc[pn]=[''] textl[pn]=['Left'] texti[pn]=['0'] ordr[pn]=[1810] cond[pn]=['FileExists("%CDROM%\\WPI\\Install\\NPP\\npp.exe")'] prog[pn][0]+='</label><BR /> '; prog[pn][0]+='<input type="checkbox" id="dope4" checked value="1" onClick="'; prog[pn][0]+=' var pn = findProgByUID(\'NOTEPADPP\');'; prog[pn][0]+=' cmd2[pn]=(!document.getElementById(\'dope4\').checked)? [\'\'] : '; prog[pn][0]+=' [\'%CDROM%\\\\WPI\\\\Install\\\\NPP\\\\Replace.cmd\'];">'; prog[pn][0]+='<label for="dope4"'; prog[pn][0]+='><input type="text" readonly class="injectedLabel" value="Als Standard">'; prog[pn][0]+='</label><label>'; cmd1[pn]=['%CDROM%\\WPI\\Install\\NPP\\npp.exe'] cmd2[pn]=['%CDROM%\\WPI\\Install\\NPP\\Replace.cmd'] dflt[pn]=['yes'] configs[pn]=['Designer,Coder,Admin'] cat[pn]=['Office'] pn++ PS: I had to comment out the line patchTheme(/class="txt"/ig, 'class="opText"'); because I always got an error Message when I don't comment it out. I hope someone has tried to use Injections too and knows what I am doing wrong... Pleeease...
  2. @Dje /@ll: I made some Checkbox-Injections to my config.js. Now my problem is that I would like to use one/more conditions (cond[pn]=['FileExists("...")']) to an injected Checkbox. Like: Show injected Checkbox only if condtion is met...Is that possible? Let me try to do a example: prog[pn]=['Cherry Keyman 3.0'] uid[pn]=['CHERRY'] desc[pn]=['Install Cherry Keyboard- & Mouse Software.'] ordr[pn]=[260] cond[pn]=['FileExists("%CDROM%\\WPI\\Install\\Cherry\\SetupKeyManDesktop30_DE.exe")'] cmd1[pn]=['%CDROM%\\WPI\\Install\\Cherry\\SetupKeyManDesktop30_DE.exe /quiet /norestart'] prog[pn][0]+='</label><BR /> '; prog[pn][0]+='<input type="checkbox" id="dope19" checked value="1" onClick="'; prog[pn][0]+=' var pn = findProgByUID(\'CHERRY\');'; prog[pn][0]+=' cmd2[pn]=(!document.getElementById(\'dope19\').checked)? [\'\'] : '; prog[pn][0]+=' [\'%CDROM%\\\\WPI\\\\Install\\\\Cherry\\\\KeymanConfig.cmd\'];">'; prog[pn][0]+='<label for="dope19"'; prog[pn][0]+='><input type="text" readonly class="injectedLabel" value="Configuration">'; prog[pn][0]+='</label><label>'; prog[pn][0]+='</label><BR /> '; prog[pn][0]+='<input type="checkbox" id="dope20" checked value="1" onClick="'; prog[pn][0]+=' var pn = findProgByUID(\'CHERRY\');'; prog[pn][0]+=' cmd3[pn]=(!document.getElementById(\'dope20\').checked)? [\'\'] : '; prog[pn][0]+=' [\'REGEDIT /S %CDROM%\\\\WPI\\\\Install\\\\Cherry\\\\QuickDropOff.reg\'];">'; prog[pn][0]+='<label for="dope20"'; prog[pn][0]+='><input type="text" readonly class="injectedLabel" value="Hide Quickdrop-Icon">'; prog[pn][0]+='</label><label>'; dflt[pn]=['yes'] configs[pn]=['admin,user,system'] cat[pn]=['Hardware'] pn++ Ok, as u can see the Main-Program is the Software for my Keyboard/Mouse. The Second Injection is an option that I always want to be displayed for every User. But the first Injection is my Private Configuration-File, and i would like this Checkbox to be displayed only when a special Condition is met. e.g. A special Tag-File is found (FileExists("%systemdrive%\\Tagfile.tag")) Is that possible? Please help me...
  3. @Yurek3, how do you do it to have this "Performing Post-Setup-Tasks" -Window open at the same time as WPI-Installer? Is it a RunOnceEx Window? And something else: How do you put a wallpaper on the screen at that stadium of Windows-Setup? Thank you for your Answers...
  4. Yes I already use this for all my Programs! I think I will make another new config.js specially for choosing between different sets of programs. e.g. Essential Programs, Webdesign, Grafikdesigner, Multimedia-PC,... So in the end I can count the needed Diskspace so that always the different sets of progs will fit to a normal dvd. i have built my own autostart-menu with AutoPlay Menu Builder where i put a button called Create-New-DVD where User can decide if he wants a Windows-Install DVD with a set of Programs or just a Program-Install-Disk, or if he wants WinXP, Knoppix and UBCD-Tools, ... ... ... ... (My Win Unattended-DVD is a Multi-Boot DVD with UBCD, UBCD4Win, Knoppix, Erd-Commander, WinXP-Pro Unattended, WinXP Pro Attended and some other stuff.....) @kof94: Thank you , I think you're the first one who understands me..
  5. I want to use wpi to choose the applications for creating a disc. Just for CHOOSING! WPI should NOT choose it by itself! I (ME, NOT WPI) want to choose some apps (let's say for today's disc I want to have App1,App2,App3,...,App15) and I would like to have a display where I can see when my availalable Disc-Space is reached (just like in a burning Program). For every App that I will check, WPI should count the size for each app together (therefor the size[pn]-Variable). For each App that I have chosen, (NOT WPI by itself!!) I will use a cmd-File to copy the Installation-Files to a %Temp%-Directory. If done so, I will use cdrecord.exe to burn the Apps in the Temp-Folder to a disc I know that this is NOT A STANDARD FEATURE of WPI. But I'd like to modify it to have such a functionality... ...Soon I will have to give it up because nobody understands me...
  6. I think you don't understand me. I don't want wpi to sort out the apps. That will still be done by a user. I want to use WPI for 2 different things. 1. For installing Applications (The Normal WPI-functioning) 2. For choosing some applications (on the normal wpi-screen with checking and unchecking Apps...) that will go to another (SingleLayer)-DVD. an example for a cmd-line: prog[pn]=['Acronis True Image Home 10.0.0.4871'] uid[pn]=['TIMAGE'] desc[pn]=['Add Acronis True Image Home 10.0.0.4871 to the disc.'] textl[pn]=['Left'] texti[pn]=['0'] ordr[pn]=[420] cmd1[pn]=['%CDROM%\\Applications\\CreateDisc\\CopyInstallFolderOfAcronisTrueImageToDisc.cmd'] cat[pn]=['System'] pn++ The Problem is that I want to see how much Apps can be checked until the Disc would be full (Like in Nero or another Burning Program). Maybe I add a variable in the config.js to each Program that says: size[pn]=['100']. Then I want to have a "Available-Size"-Variable where I can subtract the size of each Program until the Disc is full. At the end I will have 2 config.js. One for installing apps, and one for choosing Programs to create a singlelayerDVD. I hope you understand what I mean now...
  7. Hello Everyone. When I have some Programs with "forc[pn]=['true'];" but a cond or a gcond returns false, will the Program then be installed? Which is "stronger" ?
  8. I made a XP-Unattended-DualLayer-DVD but because some friends of mine have just a Single-Layer-DVD-Drive, I want to have an option on my DVD to make a Single-Layer-DVD out of the Dual-Layer-DVD. I'd like it very much to use WPI for that. That means: The user launches WPI for selecting the programs that will be on the normal DVD. I think I'll use simple Batch-Scripts for each program to copy the Program-Folders&Files to a Temp-Folder but I want to have a Display on the WPI-Screen where the user can see how much Disc Space is left. The best would be a starting-Variable that i can give a starting-Value (for Example 3,5 GB for a DVD or 300MB if a User wants to create a CD) and then another Varable that I can give each selected Program to substract from the "DVD-Size-Variable". e.g. Usable Disc-Space is 3,5 GB, Program A is 300MB, Program B is 100MB, Program C is 200MB...then the DVD-Space-Variable goes 3500MB-300MB-100MB-200MB=2900MB,... The Super-Mega-Killer-Thing would be to have still only one config.js,... I hope you can understand my poor English...(and my crazy Idea ???) I am very very new to javascript so I have no Idea how to do this on my own... Maybe you can help me and have some tips for me. Thank you for your help... EDIT: By the way: Thank You Very much for the great WPI !!! I LOVE IT!
×
×
  • Create New...