Content Type
Profiles
Forums
Events
Everything posted by zorphnog
-
One last problem with my config
zorphnog replied to tcarman's topic in Windows Post-Install Wizard (WPI)
@tcarman: I don't know how much you know about programming or what languages you know, but an enumerator is a common operator across all languages. It basically allows you to step through a list of results one item at a time. In this case fso.Drives (fso is a FileSystemObject that is declared globally in WPI) is a list of all drives on the system. The for loop steps through each drive using the moveNext() function. When en.item() is called it returns a Drive object and we can then compare the drive letter to the one that was passed to the function. @mritter: I figured you would already be working on these, but he needed a solution and it only took me a couple of minutes to put together. -
One last problem with my config
zorphnog replied to tcarman's topic in Windows Post-Install Wizard (WPI)
If you know VBScript then you should be good. JScript and VBScript are interchangeable except for some syntax differences. I'm not a JScript expert by far. I just kind of learn things as I need them. I guess the best thing to do is go through all of the WPI code to get a feel for how to do things. It takes a while to do, but thats how I learned. -
Post your config file. Additionally you can try enclosing the whole statement in "s. cmd1[pn]=['"%wpipath%\\Install\\Sonic.DVDit!.v5.RETAIL-CROSS.30-7-04\\Setup\\setup.exe /VERYSILENT"'];
-
@Avneet the timer text color has to be changed in the wpi.htm file. See kels post for what to change. The timer bar values are all in the .css file. Class TimerBarBg for background and class TimerBar to specify the bar picture.
-
@ICANIT disable the buttons this way for now. The Show Extra Buttons toggle will be back in v5.5 http://www.msfn.org/board/index.php?s=&...st&p=562689.
-
Just extract the theme folder to the themes directory of wpi [WPI\Themes].
-
One last problem with my config
zorphnog replied to tcarman's topic in Windows Post-Install Wizard (WPI)
This wasn't too hard to implement so I went ahead and created two functions: DriveExists(drive) and DriveType(drive). Pass a drive letter (no colon[:]) to DriveExists() and it will return true or false. Pass a drive letter (no colon[:]) to DriveType() and it will return one of six values: UNKNOWN - The drive exists, but the type is unknown. REMOVEABLE - The drive exists and is removeable (i.e. USB attached drive) FIXED - The drive exists and is a fixed hard drive partition. NETWORK - The drive exists and is mapped to a network share. CDROM - The drive exists and is an optical drive. RAMDISK - The drive exists and is a memory allocated drive. NULL - The drive does not exist. Note: All returned values from DriveType() are in uppercase. Here are the two functions. Either add them to core.js or download the modified core.js. function DriveExists(dr) { position="core.js"; whatfunc="DriveExists()"; var en, ite; en = new Enumerator(fso.Drives); for(; !en.atEnd(); en.moveNext()) { ite = en.item(); if (ite.DriveLetter == dr.toUpperCase()) return true; } return false; } function DriveType(dr) { position="core.js"; whatfunc="DriveType()"; var driv; if(DriveExists(dr)) { driv = fso.GetDrive(dr); switch(driv.DriveType) { case 0: return 'UNKNOWN'; case 1: return 'REMOVEABLE'; case 2: return 'FIXED'; case 3: return 'NETWORK'; case 4: return 'CDROM'; case 5: return 'RAMDISK'; } } return NULL; } @tcarman your gcond would be the following: gcond[pn]=['DriveType("D")=="FIXED"'];This will check if the drive exists and if it is a fixed partition. Modified core.js file: -
Well I'm not sure what the deal is. Have you tried to install any other apps using WPI? Does the switch work when you run it from the command line? If so, post your config file.
-
@mritter: Can you email it to me, I'd like to take a look at it. I also use WPI in an IT environment, so I'd like to find a way to get this to work without having a security vulnerability.
-
What is the path to your WPI folder on the hard drive?
-
WPI 5.4 Official release
zorphnog replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
@vampyrus: There is not one method for registering applications that works for every application. Each one is different, but most of them should be in that Application Installs forum. Search for each application you need help with individually. You should be able to find some detailed instructions, including registration information, for most common applications. If not, post a new topic in that forum with the applications you need help with. Those guys should have it figured out in no time. @Dynaletik: Good to hear about the Vista compatibility! -
How do i remove the "option" "config" etc from men
zorphnog replied to Vingen's topic in Windows Post-Install Wizard (WPI)
WPI v5.4 will automatically hide these buttons when it is run from a removable drive (i.e. CD/DVD ROM). There used to be an option in the options wizard to toggle the buttons at will, but it was removed and replaced by the method mentioned above. I think the toggle option will be added back to 5.5. Until then, however, if you want to change it manually you can follow the advice in this post. -
At this point, there is not a work around for that. I am looking for ways around loading the desktop and automatically logging on, but I have not found a solution yet. For now it will just have to be the way it is, at least you can resume.
-
In wpi.htm of the theme, find this around line 400: <td width="33%" align="center"> <!-- Audio Player --> <div id="MediaPlayerDTV" style="position:relative; display:block; z-index:100; overflow:hidden; width:300px; height:52px;"> <object id="MediaPlayer" width="300" height="44" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <param name="SendPlayStateChangeEvents" value="1"> <param name="AutoStart" value="1"> <param name="uiMode" value="full"> <param name="PlayCount" value="9999"> <param name="Volume" value="100"> <param name="EnableContextMenu" value="0"> <param name="WindowlessVideo" value="1"> </object> </div> <script type="text/javascript"> if (PlayAudioInWPI) document.all.MediaPlayer.url='./Audio/WPI.m3u'; </script> </td> Replace with: <td width="33%" align="center"> </td>
-
WPI 5.4 and auto-run difficulties
zorphnog replied to arabianhorse's topic in Windows Post-Install Wizard (WPI)
The first error is normal any time you open the options wizard for the first time. It cannot open useroptions.js because it has not been created yet. The second one probably has to do with the permissions you have on the WPI folder. Looks like WPI is read-only. I don't know anything about AutoPlay Media Studio, but its definitely a permissions issue. I'm just going to guess that it is some type of simulator for media, in which case all your files are read-only. Your options should be set before you burn WPI to media. -
desactivate autoclose after install
zorphnog replied to silver74's topic in Windows Post-Install Wizard (WPI)
Just a thought: You could just use the %sleep% command as your execute after script. Use this as your execute after script: %sleep% 3600 That would keep the screen open for an hour after the install is complete. -
WPI 5.4 Official release
zorphnog replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
All mentioned in the 5.4 change log: Put this in a config entry as one of the commands (cmd1-cmd6). -
This was mentioned in the release thread. Kelsenellenelvian and others are trying to find a solution. http://www.msfn.org/board/index.php?s=&...st&p=560096
-
WPI 5.4 Official release
zorphnog replied to Kelsenellenelvian's topic in Windows Post-Install Wizard (WPI)
Well, they are supposed to be removed when WPI is run from a CD/DVD. If you're like me though, and you want to run it from a hard drive or NAS, you'll have to modify the code. I guess the easiest way is to go to the wpi.htm file of your theme and look for the following section (or something similar). I'll use Glossy as an example, this is at the very end of the file: <script type="text/javascript"> document.all.ExtraButtons.style.display = hdd != "" ? 'block' : 'none'; </script> Replace it with: <script type="text/javascript"> document.all.ExtraButtons.style.display = 'none'; // document.all.ExtraButtons.style.display = 'block'; </script> Now whenever you want the buttons, just comment out the 'none' line and uncomment the 'block' line. Keep it the way it is for no buttons. I think that they should have kept the option, and maybe this should be brought up in the wish list thread. I think a combination of the hdd method and the option method would be nice. We could have the hdd method supercede the option method if the install was not from the hdd, but then rely on the option method for when WPI is on the hdd (hope I'm making sense here). edit: The toggle funcitionality will return to v5.5 http://www.msfn.org/board/index.php?s=&...st&p=562689. -
Most of the dependency checking is in check.js. You will also want to look at boxes.js, this is where the main screen is generated.
-
As I said before, the best thing to do is to read through the unattended guide. This is a step-by-step guide that explains everything you need to know. Now actually reading and following the guide will probably take you several days, but that is the best way to learn. Just use the menu on the top left of to navigate through the different sections starting with the Beginning Users. If you follow this guide you will understand how to do what you are trying to do. The guide is written in laymans terms. As long as you start from the beginning there shouldn't be anything that confuses you. I cannot learn it for you. This is the best advice I have. http://unattended.msfn.org/unattended.xp/view/web/1/
-
I understand your problem, but I just don't know if it is possible to do what you are trying to do. Sure a html file could be permanently generated so that it doesn't have to be generated as startup. However, the big slow down in WPI under your conditions (400+ applications I believe I read) is the logic checking for the cond, gcond, and deps of every configuration entry. What you are suggesting to do would require a totally different architecture for WPI. The way application configuration entries are processed would have to be totally changed. This would span over the entire system (multiple files). I wish there were a better way to speed up the process, but this is one of the cons of using an html application.
-
The principles of installing the application are the same whether you are installing from WPI or a XP CD. With either method you need to be able to install the application without any user input (otherwise known as a silent install). The link I posted is a guide on how to perform a silent install of Acronis true image. I guess the better question is are you trying to install this before windows is installed as a way to partition your drive? Or after windows has installed? I assume you mean after windows has installed, and I understand you don't want to use WPI to install it, which is fine (I wouldn't use it for just one app either). The solution is a RunOnceEx.cmd file. In this file you put the silent install command that was in the link I previously posted. I'm not gonna go into the whole system of RunOnceEx as there is already this wonderful unattended guide on msfn. I would strongly suggest reading the entire unattended guide, but if you just want the RunOnceEx stuff it is here.
-
You should check out the Application Install forum, this is where you will find instructions for silent installs. I just did a quick search and found this http://www.msfn.org/board/index.php?showtopic=80664.
-
Untick Catagory Problem in 5.3
zorphnog replied to nightwolf81's topic in Windows Post-Install Wizard (WPI)
This is a known issue with v5.3. If you want the fix its already been discussed in the Bug tracker Subforum. Check out this thread and download the updated check.js file.