The Official Windows Post Install Wizard Thread
#111
Posted 23 August 2004 - 10:32 AM
how can i possibly find the answer if i tried over and over again to find the problem in the codes and didn't find a clue?!
instead saying the same thing on every massage i post, try to think - maybe i tried solve the prboelm my self but i didn't succeeded?! have you ever thought about that??
so maybe instead of saying the same thing againg and again try to think that i'm not just newb that keep asking questions without trying even a bit to solve them himself!!
i guess u think i'm just stupid newb that says "hi , why do i need to try solving my own problems when the suckers on MSFN can solve them for me?!"
well its really really not like this!!
everytime b4 i post a massage here i try to figure the prboelm alone and solve it alone with no posting, after this i'm searching the forum [only in my first dayd in here i didn't] , and when i can't find my answer ,only then i'm posting here.
about the bumping - when my massage pass of to the 3rd or 4th page how can i expect anyone to see it?! don't u get it??
so please stop thinking i'm little stupid boy that just trying to make MSFN users life hard!!
#112
Posted 23 August 2004 - 10:55 AM
#113
Posted 23 August 2004 - 11:07 AM
and yes i read the **** article if that what u r asking!! but don't u get it?!!
i already tried all i know, i already tried search the web, i already asked my skilled friends and the other thing wrote in the article
so stop being so blind and read my last replay!! i tried solving my problem by my own in any way i know, this forum was my last soloution!!! and when i ran out of soloutions and suggestions what can it be, after searching the WHOLE **** web with google and altavista, i came to this forum, and asked my question here!!
what is your problem with me man dammit?!
#114
Posted 23 August 2004 - 11:09 AM
#115
Posted 23 August 2004 - 11:10 AM
#116
Posted 23 August 2004 - 11:14 AM
do u ppl in this forum got something against me or something?!
or u just ignoring my replayes that saying that i looked all over to find a soloution but i didn't find it!!
#117
Posted 25 August 2004 - 10:42 AM
cachirro, on Aug 22 2004, 10:00 PM, said:
It loads the screen, but no options appear.
I press exit and it says "install.cmd doesn't exists"
CAn anyone please help me?
I did everything that was on the manual.
I found my problem, i had dirs with only one \, changed it to \\ and all works fine.
#118
Posted 01 September 2004 - 07:04 PM
I tried your software, it's very good. I open the source code to translate into French where I see you visibly don't know the loop 'for' to generate the checkbox.
Here is my code for the bx1024.html :
[....]
for (i = 1; i < 31; i++) {
if (prog[i] != null) {
document.write('<input type="checkbox" name="chkbox' + i + '" id="chkbox' + i + '" /><label for="chkbox'+ i +'" />' + prog[i] + '</label><br />');
}
else document.write('<input type="hidden" name="chkbox' + i + '" id="chkbox' + i + '" />');
if ( i%10 == 0) {
document.write ('</td><td class="txt" valign="top">');
}
}
[....]
It's better than the 200 lines, isn't it
#119
Posted 02 September 2004 - 01:21 PM
I have a question concerning Begin Install. When I click the button, a window pops up saying Thx for using WIP etc. That's alright, but after clicking OK and continuing I get an error message, which says
Runtime Error Line 3 Object could not be created
Line 3 is the same as u guys use it - I just copied and pasted it:
var WshShell = new ActiveXObject("wscript.shell");
The whole top stuff is this:
function CreateFile()
{
var WshShell = new ActiveXObject("wscript.shell");
var WshEnv = WshShell.Environment("PROCESS")
var CDROM = WshShell.RegRead("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Setup\\SourcePath");
var KeyBase = "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx";
[....]
Thus....what am I doing wrong
Thx for our help!!
Attached File(s)
-
error.jpg (34.89K)
Number of downloads: 3
#120
Posted 08 September 2004 - 02:17 PM
2) also, in WPI2.0b, how do I arrange the cmd's - i'm confused about the single quote marks.
for example, Adobe Reader6's cmd line is:
start /wait %systemdrive%\install\Applications\adobereader6\reader6.exe -p"-s /v\"/qn\"""
so, in WPI2.0b, how do I write this command?
prog[1]=['Adobe Reader 6.0']
desc[1]=['View and print Adobe PDF files with this free software.']
cmd1[1]=['systemdrive','???????']
cmd2[1]=['','']
cmd3[1]=['','']
dflt[1]=['yes']
3) when it says drive = 'systemdrive' or 'cdrom' or '', what does '' mean? if i do that, i have to write the full path (like %systemdrive%\install\Applications\adobereader6\reader6.exe ??)
#121
Posted 08 September 2004 - 04:29 PM
#122
Posted 08 September 2004 - 06:23 PM
http://www.msfn.org/board/index.php?showtopic=11491&st=90
The problem is, I set up my Config.js, but when I view my boxes.html, it is just a blank blue page....
I've gone through the code like 10 times, and I can't figure out what's wrong.
can anyone help me?
config.js
// Each application has four parameters. These are: var prog=[] // Program Name var desc=[] // A description var cmd1=[] // drive + Command Line 1 var cmd2=[] // drive + Command Line 2 var cmd3=[] // drive + Command Line 3 // drive = 'systemdrive' or 'cdrom' or '' var dflt=[] // Whether it's a default option. If it's not yes, // then it will assume no. Next version might include // "Force" as an option. // Plugin Support is in the works, but for now, it's been disabled. var plugs=".\plugs.js" prog[0]=['ProgramName'] desc[0]=['Programm','Description'] cmd1[0]=['Drive','CommandLine 1'] cmd2[0]=['Drive','CommandLine 2'] cmd3[0]=['Drive','CommandLine 3'] dflt[0]=['no'] prog[1]=['Adobe Reader 6.0'] desc[1]=['Adobe Reader 6.0','View and print Adobe PDF files with this free software.'] cmd1[1]=['systemdrive','install\\Applications\\adobereader6\\reader6.exe -p\"-s /v\\\"/qn\\\"\"'] cmd2[1]=['',''] cmd3[1]=['',''] dflt[1]=['no'] prog[2]=['AIM 5.5'] desc[2]=['AIM 5.5','AOL instant Messenger (AIM) service is a free online service that lets you communicate with family, friends and co-workers in real time. Using the AIM Buddy List feature you can see when your buddies are online and available to instant message.'] cmd1[2]=['systemdrive','install\\Applications\\aim\\aim55.exe /s'] cmd2[2]=['','cmd /c copy %systemdrive%\\install\\Applications\\aim\\aim55adhack.exe %systemdrive%\\Documents and Settings\\All Users\\Desktop'] cmd3[2]=['',''] dflt[2]=['no'] prog[3]=['BitTorrent (Shad0w's Client v5.8.7)'] desc[3]=['BitTorrent (Shad0w's Client v5.8.7)','BitTorrent is a P2P file swarming application. This means that as soon as you have downloaded a few chunks of a file it will start uploading it to others, thereby spreading the file better. Install the client to be able to download from BitTorrent.'] cmd1[3]=['',''] cmd2[3]=['',''] cmd3[3]=['',''] dflt[3]=['no'] prog[4]=['BSPlayer 100.809'] desc[4]=['BSPlayer 100.809','BSplayer is a Windows player that plays back all kinds of media files (avi,mpg,asf,wmv,wav,mp3,etc.) and specialises in video and divx playback.'] cmd1[4]=['systemdrive','install\\Applications\\bsplayer\\bsplayer.exe /S'] cmd2[4]=['',''] cmd3[4]=['',''] dflt[4]=['no'] prog[5]=['Codecs'] desc[5]=['Codecs','A collection of codecs for playing DivX movies. All you need to see DivX movies.'] cmd1[5]=['systemdrive',''] cmd2[5]=['',''] cmd3[5]=['',''] dflt[5]=['no'] prog[6]=['Daemon Tools 3.47'] desc[6]=['Daemon Tools 3.47','DAEMON Tools is a virtual cd & dvd-rom emulator. It is able to emulate nearly all known copy protections on the market today.'] cmd1[6]=['systemdrive','install\\Applications\\dt\\dt.msi /qn REBOOT=Suppress'] cmd2[6]=['',''] cmd3[6]=['',''] dflt[6]=['no'] prog[7]=['Exact Audio Copy 0.95 prebeta 5'] desc[7]=['Exact Audio Copy 0.95 prebeta 5','Exact Audio Copy is a freeware ripper that creates incredibly clean and accurate .wav files from your CDs. The software comes with an automatic error correction device during ripping that detects errors such as dust and scratches and makes the necessary changes to produce an almost totally accurate wave.'] cmd1[7]=['systemdrive',''] cmd2[7]=['',''] cmd3[7]=['',''] dflt[7]=['no'] prog[8]=['Kazaa Lite 2.43'] desc[8]=['Kazaa Lite 2.43','Kazaa Lite is the world's most popular file sharing application. It contains absolutely no spyware, adware or other unwanted software. With Kazaa Lite you have access to millions of files.'] cmd1[8]=['systemdrive','install\\Applications\\kl\\kl.exe /VERYSILENT'] cmd2[8]=['',''] cmd3[8]=['',''] dflt[8]=['no'] prog[9]=['PowerDVD XP v4.0.1329 Deluxe Edition'] desc[9]=['PowerDVD XP v4.0.1329 Deluxe Edition','PowerDVD is the latest evolution that offers maximum video and audio playback entertainment. It comes with leading video and audio technologies to deliver the highest quality viewing and listening experience possible.'] cmd1[9]=['systemdrive','install\\Applications\\powerdvd\\pdvd4.exe -s'] cmd2[9]=['',''] cmd3[9]=['',''] dflt[9]=['no'] prog[10]=['Spybot Search and Destroy 1.3'] desc[10]=['Spybot Search and Destroy 1.3','Installing this feature will provide you a great Anti-Spyware Scanner.'] cmd1[10]=['systemdrive','install\\Applications\\spybot\\spybotsd13.exe /silent /nocancel /taskbarhide /autoclose'] cmd2[10]=['',''] cmd3[10]=['',''] dflt[10]=['no'] prog[11]=['TuneUp Utilities 2004.4.1.2312'] desc[11]=['TuneUp Utilities 2004.4.1.2312','Use TuneUp Utilities to make Windows look and run the way you want it to, repair problems and remove unnecessary clutter, optimize the performance of your computer, keep Windows under your control, and recover important files and protect your privacy.'] cmd1[11]=['systemdrive','install\\Applications\\tuneup\\tu.exe /q'] cmd2[11]=['','cmd /c copy %systemdrive%\\install\\Applications\\tuneup\\tuneupkeygen.exe %systemdrive%\\Documents and Settings\\All Users\\Desktop'] cmd3[11]=['',''] dflt[11]=['no'] prog[12]=['Winamp 5.05'] desc[12]=['Winamp 5.05','Winamp is a very popular media player, and is used by many people to play MP3 files.'] cmd1[12]=['systemdrive','install\\Applications\\winamp\\winamp505.msi INI=\"%systemdrive%\\install\\winamp505\\winamp.ini\" /qb'] cmd2[12]=['',''] cmd3[12]=['',''] dflt[12]=['no'] prog[13]=['WinRAR 3.20'] desc[13]=['WinRAR 3.20','While there are many file decompression applications available, the one that offers the most functionality is WinRAR. Install this if you download programs.'] cmd1[13]=['systemdrive','install\\Applications\\winrar\\wrar320.exe /s'] cmd2[13]=['',''] cmd3[13]=['',''] dflt[13]=['no'] prog[14]=['Add Registry Tweaks'] desc[14]=['Installs additional system changes and enhancments.'] cmd1[14]=['','REGEDIT /S %systemdrive%\\install\\RegTweaks.reg'] cmd2[14]=['',''] cmd3[14]=['',''] dflt[14]=['no'] prog[15]=['Remove \'extra\' Wallpapers'] desc[15]=['Removes wallpapers that are often unused'] cmd1[15]=['systemdrive','install\\wpi\\cmds\\rempapr.cmd'] cmd2[15]=['',''] cmd3[15]=['',''] dflt[15]=['no'] prog[16]=['Remove \'extra\' Screensavers'] desc[16]=['Removes screensavers that are often unused.'] cmd1[16]=['systemdrive','install\\wpi\\cmds\\remscrs.cmd'] cmd2[16]=['',''] cmd3[16]=['',''] dflt[16]=['no'] prog[17]=['Remove Commonly Unused Shortcuts'] desc[17]=['Removes the Windows Catalogue and other often unused shortcuts from the start menu'] cmd1[17]=['systemdrive','install\\wpi\\cmds\\remuncut.cmd'] cmd2[17]=['',''] cmd3[17]=['',''] dflt[17]=['no'] var FiltersEnabled = 0 // if your not going to use transitions or filters in any of the tips set this to 0 Text[0]=["Whoops!","This should be replaced with a working tooltip. If you are not Becky or Derek, then call them and tell them about it."] Text[1]=["Begin Installation","Initiates the script generator<br /><br />Click this to begin generating the install script."] Text[2]=["Exit Button","Closes this application<br /><br />If you want to stick to the application defaults, press this. Minimal updates and applications will be installed. This includes Windows XP security updates."] Text[3]=["Help","Displays basic usage, version information, and disclaimer."] Text[4]=["Select Defaults","This option will enable the default recommended options.<br /><br />Click if you only wish to install basic recommended options."] Text[5]=["Select All","Click this will select all available options."] Text[6]=["Return","Clicking this will return you to the option selection screen."] Text[7]=["Check Box Test","By clicking this, you will enable the test check box.<br /><br />Enable to if you intend to fly off a donkey cart."] Text[8]=["Select None","Click this will deselect all available options."] Style[0]=["black","black","#FFb200","#FFD980","","","","","","","","","","",200,"",2,2,10,10,51,1,0,"",""] //Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlig n, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
#123
Posted 08 September 2004 - 06:48 PM
Thread Merged
#124
Posted 08 September 2004 - 06:58 PM
Anyways, I found and fixed the problem!!
I commented out line by line until it worked, and there were 2 problems:
Both were a problem of having an apostraphe in the Program name/description.
Fixed Lines:
prog[3]=['BitTorrent (Shad0w\'s Client v5.8.7)'] desc[8]=['Kazaa Lite is the world\'s most popular file sharing application without any spyware.']
Chaning the ' to a \' fixed the problem for me.
EDIT:
While messing with the javascript I discovered 2 things, which may or may not be or interest to you guys:
1) No matter what order the code is in, the entries are lined up in order of the numbers in brackets. You can also skip numbers.
ex: prog[18]=['Remove \'extra\' Screensavers'] desc[18]=['Removes screensavers that are often unused.'] cmd1[18]=['systemdrive','install\\wpi\\cmds\\remscrs.cmd'] cmd2[18]=['',''] cmd3[18]=['',''] dflt[18]=['no'] prog[15]=['Add Registry Tweaks'] desc[15]=['Installs additional system changes and enhancments.'] cmd1[15]=['','REGEDIT /S %systemdrive%\\install\\RegTweaks.reg'] cmd2[15]=['',''] cmd3[15]=['',''] dflt[15]=['no'] Will still appear as: Add Registry Tweaks Remove 'extra' Screensavers
2) There is a maximum of 18 entries. I don't know why, but anything above 18 won't be recognized.
#125
Posted 08 September 2004 - 08:28 PM
In my winnt.sif, i have:
[GuiRunOnce] %systemdrive%\install\WPI20b\wpi.cmd
In my wpi.cmd, i have:
@echo off start /wait %systemdrive%\install\WPI20b\WPI.HTA
I want to know where to put my cleanup commands:
CLS @echo off TITLE Windows XP SP2 - Cleanup ECHO. shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..." ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\Install EXIT
Can I run two programs in GuiRunOnce like:
[GuiRunOnce] %systemdrive%\install\WPI20b\wpi.cmd %systemdrive%\install\cleanup.cmd
And then cleanup.cmd will ONLY run once wpi.cmd is totally done (after ALL my programs install)??
Or do I need to do something else?
#126
Posted 10 September 2004 - 07:33 AM
Anyone know the answer to the cleanup q?
#127
Posted 11 September 2004 - 05:33 AM
Thank You.
#128
Posted 11 September 2004 - 09:25 PM
I am having a big problem when I run my WPI but this only happened when I rebooted my computer. Prior to this the checkboxes were coming up still. I am unsure if it is related to my reboot or not. Anyway when I run the WPI, it stays stuck on the screen that says "Please wait while Windows Post-Installer configures itself to your PC...." It just stays on that screen and will not load up the checkboxes with my associated program titles. I have invested a lot of time going over the code (hours on end). I made it so it loads up 30 boxes on the screen ( I used the bx.rar file in the forum and changed oen of them to say boxes.html to make it work for me). I hope someone can help me out ! I would appreciate it GREATLY!
THANKS A LOT!!!!
#129
Posted 11 September 2004 - 09:44 PM



Help


Back to top








