Jump to content

phkninja

Member
  • Posts

    465
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Ireland

Posts posted by phkninja

  1. yes you can order them. Firstly create a runonce.bat (or .cmd) file, instead of running the RunOnce from the winnt.sif file. You create an $OEM$ folder and add a cmdlines.txt file that runs the required apps. The easiest is to have

    cmdlines.txt

    [COMMANDS]
    RUNONCE.CMD

    Then you do the following

    RunOnce.cmd

    REM Do not edit here
    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
    REG ADD %KEY% /V TITLE /D "Installing Applications" /f

    REM Program Install code goes here

    REG ADD %KEY%01 /VE /D "Preparing Installation..." /f
    REG ADD %KEY%01 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f
    REG ADD %KEY%01 /V 2 /D "%WinDir%\INSTALL\START.CMD" /f
    REG ADD %KEY%01 /V 3 /D "%WinDir%\INSTALL\ENC.EXE" /f
    REG ADD %KEY%01 /V 4 /D "%WinDir%\INSTALL\D.CMD" /f
    REG ADD %KEY%01 /V 5 /D "%WinDir%\INSTALL\WPI.CMD" /f

    Runs all the required stuff like one application install, or you cold have

    RunOnce.cmd

    REM Do not edit here
    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
    REG ADD %KEY% /V TITLE /D "Installing Applications" /f

    REM Program Install code goes here

    REG ADD %KEY%01 /VE /D "Finish Drivers..." /f
    REG ADD %KEY%01 /V 1 /D "%SystemDrive%\DPsFnshr.exe" /f

    REG ADD %KEY%02 /VE /D "Preparing Installation..." /f
    REG ADD %KEY%02 /V 1 /D "%WinDir%\INSTALL\START.CMD" /f

    REG ADD %KEY%03 /VE /D "Enc.exe..." /f
    REG ADD %KEY%03 /V 1 /D "%WinDir%\INSTALL\ENC.EXE" /f

    REG ADD %KEY%04 /VE /D "D.cmd..." /f
    REG ADD %KEY%04 /V 1 /D "%WinDir%\INSTALL\D.CMD" /f

    REG ADD %KEY%05 /VE /D "WPI.cmd..." /f
    REG ADD %KEY%05 /V 1 /D "%WinDir%\INSTALL\WPI.CMD" /f

    See the programs go here bit. Copy and paste, then increment the %KEY%\ to 002 etc.

    Or just have

    cmdlines.txt

    [COMMANDS]
    %SystemDrive%\DPsFnshr.exe
    %WinDir%\INSTALL\START.CMD
    %WinDir%\INSTALL\ENC.EXE
    %WinDir%\INSTALL\D.CMD
    %WinDir%\INSTALL\WPI.CMD

    there are numerous ways to do the same thing. I would suggest that the DPsFnshr.exe remains in the winnt.sif file and have the rest in the cmdlines.txt etc, as this is essentail for the windows install to function correctly butthe rest are personal preferences. (DPsFnshr.exe is for the Bashrat Driver Packs to install on the machine first)

  2. add the following to runonce.bat

    ....
    REM This is where we add the second disk
    echo Please insert CD2, and press a key to continue
    pause

    for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%i:\wpi.cmd set CDROM2=%%i:

    call %CDROM2%\wpi.cmd

    This can be used wth a machine with only 1 cd drive (eject original disk, put in disk 1 and press a key) or in a machine with 2 cd drives (just press a key to continue).

    The ..... is where you have the rst of your RunOnce.cmd file

  3. When i said reduce the navigation bar, i meant the size of the pictures etc. If you loook at those templates the navigation only takes up about 1/8 of the page size, the original site you are redesigning has a navigation bar about 1/3 of the page.

    Change the colours a bit, the coklours there are what i would refer to as "safe". They are colours that alot of sites use because they always go together, but if you take the idea's for the industrial templates then you could have a grey background etc.

    The bests designs are simple but also catch your attention. You achieve this by having a nice colur scheme and a few pictures (as stated before too many pics take you eyes away from the text). You also dont want too much information in one solid block. break the info ito smaller blocks so its easier to read (dont make the info like a novel, make it like a flyer)

  4. quick answer.

    The design layout that is currently there is a professional one. The more informtion given the better, and the lack of pictures is to stop the site from being too "busy" to read (e.g. too many pictures makes the site load slowly but also takes the focus off the words on the page. the problem with too many pictures is it makes the pages difficult to read).

    One suggestion would be to changethe layout, yet keep something similar for the content. Keep it professional yet change the colours a bit, change the navigation from the top to be on the bottom or one of the sides. I also noticed hat the pictures that are there are loading slightly slow on my machine ( i have 2M bothdirections). Maybe change the pictures to progessively loading jpgs rather than the standard ones that are there (the picture will start slightly blurred then get better definitioon as time passes, rather than it loading line by line).

    i would also reduce the size of the navigation bar so it doesnt take up as much of the screen, at the moment it takes up 1/3 the screen space on my screen at a resolution if 1024x768. Compress it so it gives a bit more space for the information. Also you could add a javascript to check the screen reolution of the client computer then dynamically size the page accordingly

    (e.g. instead of putting <table width="600" height="800"..... you could put

    <script language=javascript>
    getheight()
    {
    .....
    }

    getwidth()
    {
    ....
    }
    </script>
    <table width="java script:getwidth();" height="java script:getheight();"

    this code is only an example, it has not been tested and is only to show an idea of how you may create a dynamicly sized layout

    Also I know alot of people like using flash, but personally I would stay away. Wuth flash you have to wait fo rthe file to download (taking longer than a strict html and jpeg/png build, and also required the user to have flash player installed.). To create the "flashy" layout use some mouseover effects etc (not that i approve of too many effects either). The siple rule is keep it siple. the simpler it is to read, and the less flash, the easier it makes for the reader.

  5. Doggie - Doesnt matter how careful you are on the net there are too many holes in Windows and Windows Firewall. It doesnt take too much to disable windows firewall (1 reg entry, which if you know what you are doing can be added to an RVM Add-On or to any number of legit installs).

    I have fixed too many virus or spamware ridden computers that have relied on Windows Firewall as the only securiity measure (other than an av prog) to actually think its reliable. That think i like about Comodo is it propts you whan a new program tries to conect the internet. You can tell it to addd the file to the permit or the denyu. Its that simple. It has also saved me hastle with spamware trying to install itself, or spyware installed with other programs (like Daemon tools. it adds spyware to your comp) trying o gain net access.

  6. butthis is not the only installer its doing this on. I create a program myself (for file encryption) and used NSIS with an old layout to create an installer. This installer is having the same problem and so are numerous others, but when i check the log file there is nothing. I have downloaded the non installer version numerous times (so i wont get reg conflicts by constantly deleting he non-working version to replace) but still he same problem. I have used Uniextract for a while and this is the first problem i have encountered.

    If i find more installers that it does thi on i will let you know.

    Another example. I tried to extract xpize46 (not for the code but just to see i fit would work). USSF sees it as an NSIS installer yet i get the "hanging" window and the below log file.

    TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
    Definitions found: 2359
    Analyzing...

    Collecting data from file: L:\firefox\XPize46Full.exe
    38.5% (.EXE) UPX compressed Win32 Executable (30569/9/7)
    33.5% (.EXE) Win32 EXE Yoda's Crypter (26569/9/4)
    13.2% (.EXE) Win32 Executable Generic (10527/13/4)
    9.5% (.DLL) Win32 Dynamic Link Library (generic) (7600/42/2)
    2.5% (.EXE) Generic Win/DOS Executable (2002/3)

  7. Your request was not very clear, but i assume you want to make a 2 cd installation and want to know how to create it.

    From the image i see you use WPI to install the software. To make this a 2 cd install you can copy WPI to another cd (assuming it fits) then instead of having

    REG ADD %KEY%\999 /V 1 /D "%wpipath%\WPI.hta" /f

    in your runonce.bat like you would on a normal install, you could add the lines

    Echo Please insert CD2 and press a key to continue installation.....
    pause
    call wpi.bat

    to the runonce.bat.

    You then add a cmd file to the root directory of cd2 called wpi.cmd.

    wpi.cmd code

    for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%i:\wppi.cmd set CDROM=%%i:
    SET wpipath=%CDROM%\wpi
    REG ADD %KEY%01 /V 1 /D "%wpipath%\WPI.hta" /f

    images

    CD1

    CD2

  8. i use comodo and peerguardian. No need for both really but like the added protection (only put peer guardian on when torrenting, and update the lists every day with Blocklist Manager). Im obsesive about this stuff, maybe because most countries dont have a data protection act like Irelands :) Even the police need special permission to gather all the info on you, and even then it has to be related to a crime.

  9. it removes any install directories i create and also removes the prepare, themes and shortcuts command files from system32. maybe i should also add a runonce command to remove the cleanup file aftre the next boot :)

    The install directory is not used any more because I run the setups from CD, but the cleanup hasnt been change since my first build *lol*

  10. I run onc cmd file for RunOnce that calls others during the setup.

    The runonce is

    cmdow @ /HID
    @echo off

    for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do if exist %%i:\phkcd.txt set CDROM=%%i:
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
    REG ADD %KEY% /V TITLE /D "Installing Applications" /f

    REG ADD %KEY%\a2 /VE /D "Finishing Setup ..." /f
    REG ADD %KEY%\a2 /V 1 /D "prepare.cmd" /f
    REG ADD %KEY%\a2 /V 2 /D "regedit /s %CDROM%\$OEM$\tweaks.reg" /f
    REG ADD %KEY%\a2 /V 3 /D "themes.cmd" /f
    REG ADD %KEY%\a2 /V 4 /D "shortcuts.cmd" /f

    REM Tweaks go here.
    REM Disbale Zip Folders
    regsvr32 /u /s zipfldr.dll


    rem Software goes here
    REG ADD %KEY%\a3 /VE /D "AVG Anti Virus Free" /f
    REG ADD %KEY%\a3 /V 1 /D "%CDROM%\software\avg.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP

    REG ADD %KEY%\z099 /VE /D "Cleaning Up and Rebooting" /f
    REG ADD %KEY%\z099 /V 1 /D "cleanup.cmd" /f

    shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minutes.\n\n This will allow for all software to install..."

    the other files are

    prepare.cmd

    themes.cmd

    shortcuts.cmd

    cleanup.cmd

  11. what processor is it?

    you say its an AMD, but there are AMD Athlon 64, AMD Athlon X2 and AMD Athlon FX. Thats just the Athlon range tehere is also the Turion range as well.

    It helps to know which processor so we can further definbe the problem.

  12. It helps when you know where to begin the search. I have dealt with NetVisat All-in-One machines before, so it wasnt that difficult to change the search for a desktop.

    BTW just in case anyone clicks and says "that site is for a company called Lenovo", look at the url and you will see Lenovo is a subsiduary company of IBM. Lenovo deals with supporting desktops, IBM only support servers.

×
×
  • Create New...