Jump to content

Evolver

Member
  • Posts

    16
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Belgium

Posts posted by Evolver

  1. I have tested something with a RARsfx

    Example: (TEST.exe rarsfx)

    ;Het onderstaande commentaar bevat SFX-scriptopdrachten

    Path=.\%dirtarget%
    SavePath
    Setup=Replace.vbs "INFO.txt" ".exe" "%myinput%"
    Silent=1
    Overwrite=1

    See some strange variables in the above SFX-script?

    Well yes, that's what this was about...

    This is how I openend that RARsfx with: (install.cmd)

    @echo off

    SET dirtarget=testdir
    SET myinput=First replacement text

    TEST.exe

    EXIT

    Waw, it did exactly what I hoped for...

    It 's good to know, because this does open the door to some very nice possibilities...

    This simple method can be usefull for running just one and the same RARsfx with different destinations, serialkeys, languages,...

    ...or even for running different installers in just one RARsfx with something like:

    Setup=%installchoice%

    @echo off

    SET installchoice=Autoit-v3\autoit-v3-setup.exe /S
    TEST.exe

    EXIT

  2. I'm with elajua...

    It's not only very usefull for installs on many computers, but can be very handy for everyone...

    The reason why I started doing this was because I hated reïnstalling everthing again and again.

    After many installs and uninstalls and working, downloading, erasing, desinfecting,... systems becomes less and less stable.

    Then, I have to start looking for my drivers again, configure everything again, reinstall everything again,...

    It never happened at a good time, so I always tried to continue on a bad system untill there was really no more other way than reïnstalling.

    But yeah right, even while I hate reinstalling, I'm working much longer on making everything unattended now.

    Then I was also thinking: Why do I do this?

    I didn't even have to think long about it: last month, a very bad virus answered that question for me.

    Now I can really laugh with things like that...

    Even scanning my system took longer than reinstalling, but I tried never-the-less to beat that thing first (without fear of losing everything).

    After I got rid of it (yes I did), I still reïnstalled my system anyway to make absolutely sure that nothing stayed behind, I surely wouldn't have done that without my unattendedXPinstaller.

    GrofLuigi asked: I cannot understand the logic behind it - how will you troubleshoot if you have a problem?

    Silent installs are prepared out of full installs, so they have been tested before.

    One could ask the same question when starting up a system without reïnstalling everything.

    Even with visible installations, certain things can happen without notice...

    But eversince I started creating my own unattende installs, I've learned more about what installations do in the background:

    in the registry, the ini-files, the uninstallers,...

  3. I want some of my applications to install in the last possible moment (they are the ones I am unable to find silent switches for or the ones which do require my interaction in one way or another) so I just put their install order to some high value (like 999). However the problem is that I don't have apps marked as 1st, 2nd, 3rd etc. so my 999th application still installs in the same order WPI installs all other apps. I really don't want to go trough the list and assign install order values to each of them so is there any way to circumvent this ?

    Wel, you could use a second program to handle a second way of installing...

    If it can't install unattended, there's no need to use WPI, then maybe autorun would be a better option to use...

    Just use your imagination...

    And even if you still prefer to make these installations happen automaticaly with every new XP-install, you can add a second line in commandlines.txt to make it run after WPI...

    There are many ways, many possibilities...

    Example:

    http://cdinterface.sourceforge.net/

    I don't know if this answers your question, but it's a suggestion at least ;)

  4. Who has never had problems with some

    .ini configuration files,

    .iss install descriptions or

    .reg registry addons,

    containing absolute directories?

    I have...

    And I do hate having absolute directories on my Install-CD/DVD

    C:\Program Files\... :realmad:

    Because with these, you're limited to installing on the C-drive only...

    I like to keep the possiblity to do installations on other partitions as wel...

    So I looked for a solution... B)

    And found one :P

    OK, let me start by saying that I found it, I didn't create it...

    ' Subject: Perform Search and Replace on a file

    ' Author: Brad Thurber - brad.thurber--AT--home.com

    ' Credit: Mostly a cut-and-paste from other helpful people

    ' Date: Sept 13, 1999

    ' Version: 0.11

    So I don't deserve credit for this program, but I altered it a little for easier and silent use. :D

    I know how scripts work, I can read them, I can change them, but I still can't make my own...

    I just have something with putting pieces together, I guess.

    It's just a little .vbs script.

    But it works like magic...

    Replace.rar

    How to use:

    Replace.vbs can now simply be called from a batch-file with:

    Replace.vbs <FILENAME> <FINDSTRING> <REPLACESTRING>

    Example:

    The Freeware-program 'FileRecovery' ( http://www.pcinspector.de/file_recovery/nl/welcome.htm )

    can be installed with setup.exe -s -a -s -f1"/<directory>/setup.iss"

    setup.iss can be obtained by installing 'Filerecovery with setup.exe -R

    My testsystem is on de G-drive, this is how my setup.iss looked like:

    [InstallShield Silent]
    Version=v7.00
    File=Response File
    [File Transfer]
    OverwrittenReadOnly=NoToAll
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-DlgOrder]
    Dlg0={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdWelcome-0
    Count=6
    Dlg1={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdLicense-0
    Dlg2={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdRegisterUser-0
    Dlg3={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdAskDestPath-0
    Dlg4={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdStartCopy-0
    Dlg5={0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdFinish-0
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdWelcome-0]
    Result=1
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdLicense-0]
    Result=1
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdRegisterUser-0]
    szName=FileInspector
    szCompany=-My Company-
    Result=1
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdAskDestPath-0]
    szDir=G:\Program Files\PC Inspector File Recovery
    Result=1
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdStartCopy-0]
    Result=1
    [Application]
    Name=PC Inspector File Recovery
    Version=4.0
    Company=Convar Deutschland GmbH
    Lang=0009
    [{0DD140D3-9563-481E-AA75-BA457CBDAEF2}-SdFinish-0]
    Result=1
    bOpt1=0
    bOpt2=0

    Now the problem with this, is the line:

    szDir=G:\Program Files\PC Inspector File Recovery

    Installations on C, D, E just won't work with this line...

    More specific, G:\Program Files can be a big problem.

    In batch-files, just replacing this with %ProgramFiles% will do,

    but the same solution doesn't work with most configuration-files.

    There's no simple way to change it to make it usable on all partition-installs.

    Now with Replace.vbs, there is a solution...

    Replace.vbs can make the right changes to make it work...

    However, these changes can't happen on a CD, the file needs to be copied to Hardisk first.

    So, this is how it can be done:

    1. Copy the file to be changed to %temp%

    2. Use Replace.vbs on the file in %temp% to make the changes

    3. Use the file in %temp% for the installation

    Example: (I called this one Prepare.cmd)

    cd /d %0\..@echo off
    cmdow @ /HID
    @echo off

    copy /y setup.iss "%temp%\setup.iss"

    Replace.vbs "%temp%\setup.iss" "G:\Program Files" "%ProgramFiles%"

    EXIT

    This works like a charm...

    First it copies setup.iss tot %temp%,

    then all G:\Program Files will be changed to %ProgramFiles%

    The real magic about this is, that %ProgramFiles% won't be written to the file...

    No, no, no,... the real (absolute) path will be written to it!!!!

    How much better can it be?

    Then to finnish the installation, all there's left to do is point the installer (still on the CD) to setup.iss in the %temp%-directory.

    Like this:

    pci_filerecovery.exe -s -a -s -f1"%temp%\setup.iss"

    Enjoy... :hello:

  5. ...instead of seeing non supported ones greyed out.

    Yes, that would be nice: An option to hide certain items.

    Not only for non supported systems, but also to allow some other preparations IF certain program's are installed...

    Also the possiblity to add items to one item would be nice.

    I mean something like this:

    • Firefox
      • Extensions
      • FireTune

      [*]Thunderbird

  6. it just "start WPI\wpi.hta"....

    Try this:

    In the $OEM$ directory on my CD, I have cmdlines.txt

    In there, I have added: RunWPI.cmd

    So my cmdlines.txt looks like this:

    [Commands]
    "rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
    "REGEDIT /S regTweaks.reg"
    Royale.exe
    RunWPI.cmd

    (The first line was added by nLite, the second line was my own addition with registrytweaks.

    Don't copy these, just add RunWPI.cmd to your cmdlines.txt.)

    RunWPI.cmd is also on my $OEM$ - directory

    It doesn't only start WPI, it also recognizes the right CD and creates the %wpipath%-variable with this code:

    for /f "delims=: tokens=1" %%i in ("%~dp0") do set drive=%%i:

    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:\XP_InstallDVD.txt SET CDROM=%%i:
    set wpipath=%cdrom%\wpi

    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

    On the root of my CD, I also have a blank textfile, named XP_InstallDVD.txt,

    used by RunWPI.cmd to recognize my XPinstall-DVD (I have 2 DVD-drives)

    You only start with WPI\wpi.hta

    Maybe that's why it won't work...

  7. spanish please upload your web
    For languages other than English, you will need to download the tutorial and create your own installer.

    If elajua, a trusted source, has a spanish version to share with original files I'll be more than happy to share it on my repository.

    shark

    I just tried this and it seems to work just fine:

    - Download the original MessengerLive in your own language and install it...

    - Download the silent installer from Shark and open it with winrar (open, not run).

    - Look for the file msgslang.8.1.0178.00.dll in your 'Program Files\MSN Messenger'-directory and drag it into the open winrar-window to overwrite the english one.

    That's all I did to change it into my own language (Dutch)...

    After that, I uninstalled MessengerLive to test the silent installer...

    (there was no 'MSN Messenger'-directory in 'Program Files' anymore after uninstallation, I checked)

    But I haven't tried it on a 100% fresh installation yet...

    Maybe others can confirm if this does the trick in other languages as well.

  8. did that means that i have to change my path?

    there is too much programs that it will be a mess in cd root....

    and why i can do so without any problem in previous verison?

    i was not using "programs" as root but it was working

    and suddenly it just crashed

    i cant make out the diffrence.....

    i'll try later and report the result since i am away for few days

    thanks for your answer anyway

    Is it possible that you have more than one CD-drive?

    Then %cdrom% wouldn't be the right way to do this...

    I would suggest to place all you software in 'WPI\Install\' instead of 'progams' in the root.

    And then use:

    cmd1[pn]=['%WPI%\\Install\\Alcohol_120%_1.9.5.3105_Retail.exe'];

    instead of

    cmd1[pn]=['%cdrom%\\Programs\\Alcohol_120%_1.9.5.3105_Retail.exe'];

    If you have many to change, there's a very easy way to do this fast...

    Just open "WPI\WPIScripts\config.js" in an editor and do a 'search' and 'replace all' to change '%cdrom%\\Programs\\' to '%WPI%\\Install\\'

    Also remember that on CD, only the default option-files are used...

    I also found that one out the hard way...

    On harddisk, I could use another useroptions.js (so, with another name like myoptions.js),

    while on CD, only useroptions.js is always used.

    I don't know if the same thing would happen when using another name for config.js

  9. I hope I'm not too late for this topic. I used this http://www.appdeploy.com/packages/detail.asp?id=879 site suggested above for automated entering of serial numbers. The program is Finereader 8 Professional, and the problem is that the program gets installed in German instead of English. I don't understand why it happens, if you think it is possible to make this program be installed in English please suggest how can I achive that. Thanks.

    I can't tell you directly how it goes for Finereader.

    But I change languages without problems for most applications by registry keys.

    Just use regedit to do a 'search' in the registry for the name of the application.

    Sometimes, there are settings for the language in there as well...

    But not allways...

    Sometimes, the setting for the language is done in an .ini file in the directory where the application is installed (%ProgramFiles%\[applicationname]), then you can just get that ini-file and place it back after every new install of that application.

    However, sometimes your ini-file needs to be edited first, because they can also hold absolute locations (C:\Program Files\...), with won't work when installing on different partitions, not to mention other configurations that can change (DVD-drive settings,...)

    Example:

    "Burrrn" uses an ini-file for its configuration.

    It's only there after it's first configuration by the way...

    That's also why Burrrn will ask for settings the first time it runs.

    After that, burrrn.ini will be created in "%ProgramFiles%\Burrrn\" , containing something like this:

    [burrrn]

    Language=Dutch

    Writer=

    Speed=16

    Aac=faad.exe -o %d %s

    Ape=mac.exe %s %d -d

    Flac=flac.exe -d -o %d %s

    Mp3=lame.exe --decode %s %d

    Mpc=mppdec.exe %s %d

    Ofr=ofr.exe --decode %s --output %d

    Ogg=oggdec.exe -o %d %s

    Shn=shorten.exe -x %s %d

    Tta=ttaenc.exe -d %s -o %d

    Wv=wvunpack.exe %s %d

    Left=192

    Top=107

    Temp=F:\DOCUME~1\Evolver\LOCALS~1\Temp\

    Eject=True

    OnTop=False

    QuickErase=True

    SPTI=True

    CloseCD=True

    CD-TEXT=True

    RAW=False

    [Pre-Processing]

    ReplayGain=False

    ReplayGainType=0

    AlbumAdditionalGain=False

    AlbumAdditionalGainValue=0.0

    AlbumHardLimiter=False

    AlbumDither=True

    AlbumDitherType=2

    TrackAdditionalGain=False

    TrackAdditionalGainValue=0.0

    TrackHardLimiter=False

    TrackDither=True

    TrackDitherType=2

    [CUEditor]

    Visible=False

    Left=650

    Top=107

    Width=460

    Height=539

    Replace=True

    ReplaceFrom=.wav

    ReplaceTo=.mpc

    CaseSensitive=True

    Paths=True

    By just copying that to use as replacement the next probems would occur:

    - There's an absolute path in there: Temp=F:\DOCUME~1\Evolver\LOCALS~1\Temp\

    In this example it was installed on drive F, so it can't be used to install on another drive.

    This one wouldn't even work with other users...

    - It won't ask for any setting at first start anymore, because it will just use these settings...

    So such an ini-file needs to be changed first if you want to use it as a replacement.

    I just changed it to this:

    [burrrn]

    Language=Dutch

    With that one, it's realy that easy.

    With this ini, the first time Burrrn opens, it will still ask for settings, but now it's already asking for this in Dutch.

    I don't even need auto-it to do things like that... :whistle:

  10. I added an IE7 entry in WPI that first installs IE7, then reboots (%reboot%) and then installs the IE7 cumulative hotfix.

    I get an "unable to initialize application" error generated by Sleep.exe just before WPI reboots the system and I also get a WPI script error after the PC is rebooted, the IE7 cumulative hotfix has been installed and WPI finishes installing all the rest of the applications:

    I'm getting the same 'unable to initialize application'-error message after installation before reboot.

    I'm using the direct reboot (without-sleeptime)mode to reboot immediatly after installation.

    That error appears, but the computer reboots immediately and closes that message.

    There's not much time to read what it says.

    Doesn't seem to cause any problems, just not very nice to see...

    B.T.W.: My XP-installCD was slipstreamed with IE7

    Maybe a bug?

    Caused by IE7?

    Caused by direct reboot without sleep?

  11. well, i wish the installer window deviates more from the 'RunOnceEx" look. I mean, even though the current version's installer windows is a little different from the "RunOnceEx" one, i just wish it would be more "WPI" look..

    Maybe a full screen installer would be good!?

    This way you can't be playing around whilst the installations take place.

    -kof94

    Fullscreen could be a bit like the XP-installationscreen...

    On the left: the install-list

    On the right: Screenshots from the installing software...

    And by keeping it 'on top', maybe even cmd-windows would be hidden without using 'cmdow.exe' :w00t:

    ...just some little idea... :D

    Better not so, while testing... (unless...with the possibility to minimize) B)

  12. Thanks Nucleus!!

    Works great, even with Bitdefender 10 Pro :thumbup

    But having a problem, when using it with WPI.

    Then I get the following warningmessage:

    The following applications should be closed before continuing the install:
    Installation
    : : : Cancel : : : : : : : : Retry : : : : : : : : Ignore : : :

    I guess it's talking about the WPI-installer

    Works fine with 'Ignore' though, but that doesn't make it unattended anymore, doesn't it? :(

    Any possibility to work around that?

×
×
  • Create New...