Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Windows Installer Helper Utility

- - - - -

  • This topic is locked This topic is locked
521 replies to this topic

#1
xper

xper

    Insane Clown

  • Administrator
  • 20,179 posts
  • Joined 16-August 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
Thanks to Benjamin Kalytta from http://www.kalytta.com

I've created a little tool which can be usefull if combined with unattended windows installation. It let the user decied to choose default user name, computer name, owner name, ... after installation (RunOnce).

It's also possible to select software to install. It's agraphical user interface which let the user decided which additional software on cd should be installed after installation.

Source is freely available, may it could be usefull for someone.

--------------------------------------------------------------------------------------------

Become an MSFN Sponsor Now! Keep Up MSFN Running

Read MSFN Forum Rules
Not a member? Donate here!



How to remove advertisement from MSFN

#2
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
****, why can't I get XPCREATE to look that slick?

I'm gonna keep this one ...

Thanks!

#3
gosh

gosh

    gosh 2.0

  • Patrons
  • 2,347 posts
  • Joined 03-October 03
  • OS:none specified
  • Country: Country Flag
thanks xper, i'll add this to my collection im sure one day it'll come in handy.

-gosh

#4
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
Thanks xper for posting it here.
Every help to improve this tool is welcome, or just improve it by your self ... source is freely available.

Benjamin Kalytta

#5
GreenMachine

GreenMachine

    ineXPlicable

  • Developer
  • 3,062 posts
  • Joined 22-August 03
Welcome to MSFN, BenjaminKalytta, and thanks for that!

Be carefull, or you will be asked to update your program to do everything, including washing the dishes!

I do like the way it looks like a part of Windows. Quite slick, indeed!

#6
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
cool little tool :) ive just briefly checked it, but its cool :rolleyes:
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#7
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
New Version 1.4 is out. (WIHU)
Several bugs are fixed.

Benjamin

#8
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
So this is the last post about WIHU here :) Verion 1.5 is out now.
It's no stable enough to be burned on cd. Please don't forget to set AutoLogonCount > 0 in winnt.sif.
Things that was added in 1.5:
-File-/Registry version compare to prevent installing older or already installed versions
-Several bugs were fixed
-Autoinstall option (see /autoinstall)
-Satus/Error log view is added

Thanks for testing it.

Benjamin Kalytta

#9
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
I've just had a look at your app, I find it great, three small requests tho.

1) An option to completely skip the username creation, perhaps by a setting in the ini, so it could be used just to install apps, also with a timer that you have some time to adjust the installed apps and if they aren't adjusted auto install the standard ones

2) A variabele like in XPInstall(now called XPlode), so that you can run your setup files from cdrom
EDIT: it seems already possible, just use no variabele

3) Some kind of way to translate the app


If you could implement those features it would be a killer app :)

EDIT: also a feature that would auto reboot windows when the installation is completed, perhaps displaying a message with why windows is rebooting and perhaps some kind of flag that sets an app as always installed and optional, the optional apps can be checked off and on, but the always installed apps have no check box.

I know I'm asking a lot but those things would really give your app my number one choice

#10
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04

An option to completely skip the username creation

Already available as I wrote on my site. Just use /autoinstall switch.

A variabele like in XPInstall(now called XPlode), so that you can run your setup files from cdrom


Hmm, my app can run from everywhere ... or what do you mean running from cdrom?

Some kind of way to translate the app

Just do it;) Every string that has to be translated is in string/dialog resource. Currently there are resources for english and german language. Just translate one of them (don't forget to set new version resource language). Every resource editor can be used here.

also a feature that would auto reboot windows when the installation is completed

Also already available ... is default setting (see checkbox on last page)

and perhaps some kind of flag that sets an app as always installed and optional, the optional apps can be checked off and on, but the always installed apps have no check box.


This is also possible right now. You have to add VersionData items in install.ini file. See example install.ini or at my homepage how do do it. Only that each application has a checkbox i.e. user can decide to select or deselect items. If /autoinstall is used, each component will be installed automatically where in ini file keyword default=1. One exception is if VersionData is available and version is older/equal than currently installed one. In this case component will not be installed although default=1.

Benjamin Kalytta

#11
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
I tried the autoinstall feature but it still showed the username creation dialog, and the always installed apps flag, what I mean is nothing with checking the version, there are just some apps that are always installed nowether what, and then there ar som apps wich you can deselect and are optional, I don't think its the case right now but I could be wrong

#12
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
Be sure to download it from my web page directly: here. Or just explain in detail what you mean with "some apps that always installed". Do you mean, software that is already installed on the computer shouldn't be installed again? If yes, this could be done with VersionData keywords. You have to specify a dll filename for example which version should be compared against the installable version on cd (is specified in VersionData.Version). If this is lower/eual than currently installed on, software will not be installed from cd by default. You could also specify a registry key which shozuld be compared.

Benjamin Kalytta

#13
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
thats what I did, and then I ran it with the autoinstall switch and it shows up just the same as without the switch

#14
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
Oh, I know the problem now. Autoinstall will be turned off as soon as you move your mouse over the wihu window. May be I should turn this off. Purpose was that if a user don't enter anything application continue without user interaction. default autoinstall timeout is 10 second. (Could be specified in /autoinstall time).
May be I should turn mousemovement detection off and use keysboard press detection instead.

Benjamin Kalytta

#15
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts
  • Joined 03-January 04

It is tested on Windows XP only and definitively don't run on Windows 2000 or below.


Too bad. Why users still running 2K and don't want to upgrade OS (give money to m$) and can't upgrade hardware are excluded ?
XP OS stuff is builded on the NT / 2K source code with "enhancements".
@BenjaminKalytta
Could you make your utility 2K compatible or rewrite the code is definitively too hard ?
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86

#16
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
well perhaps you could change the mouse detection with mouse click detection

EDIT: just did a test it works but the user creation dialog is still visible,can't you just disable that dialog with auto install

#17
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
Ok, I'll modify my tool so that it can be run on Windows 2000 too.

well perhaps you could change the mouse detection with mouse click detection

Ok I'll do it, what about key press?

just did a test it works but the user creation dialog is still visible,can't you just disable that dialog with auto install


Hmm, ok I'll change it so that wihu /autoinstall 0 will skip the first user creation/settings dialog entirely.

Benjamin Kalytta

#18
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
key press could also be implemented, but you'll be clicking with your mouse first so, it wouldn't be necesary I think, only if your mouse doesn't work

#19
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
Can you perhaps also make sure that your app always starts in the center of the screen and stays on top of every other form or window

Thanks, looking forward to see the updates :)

#20
MSNwar

MSNwar

    Its Time ...

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,215 posts
  • Joined 23-December 01
Sweet application!

Welcome to MSFN and thanks for the app BenjaminKalytta.
MSNwar - The FatMan
My name is MSNwar and I am an MSFN Junkie.
Dual P3 800eb, UW-SCSI Trash, > Admin Killer <
Please Read the Forum Rules

#21
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
If the first screen would look kind of like in the picture below , with just the install button if using the /autoinstall switch that would be great, sorry if I'm asking to much, just positive comment

Attached Files



#22
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
So, everything that was requested here was added.
@MarcoTips: I also added a "Select all" button (tri state) as you wished, and of course screen center positioning :)
It now run on Windows 2000. I added /SkipAutoRestart switch to prevent from automatically booting.
Example commandline could be: wihu /skipautorestart /autoinstall 0

which will automatically install software but don't reboot after programm termination.
I'll do an unattended windows installation test with this tool now.

Benjamin Kalytta

#23
MarcoTips

MarcoTips

    Junior

  • Member
  • Pip
  • 69 posts
  • Joined 28-January 04
thanks, will test it out tomorrow if it's available for download then

If I have any more request I'll let you know, would do it myself but don't kwow how to program in C++

#24
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,496 posts
  • Joined 25-September 03
hmmm....
I've found a place in my install routine for almost every other progam made at MSFN.....

I guess I could find a place for this :)

Very Very nice indeed.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#25
BenjaminKalytta

BenjaminKalytta

    Developer

  • Member
  • PipPipPipPip
  • 609 posts
  • Joined 08-June 04
Software was installed in reverse order as specified in ini file is fixed now. Also a bug in AutoInstall option.
So everyone can make suggestion which feature should be added in future version 1.6.

Benjamin Kalytta




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users