MSFN Forum: Windows Installer Helper Utility - MSFN Forum

Jump to content


  • 27 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • This topic is locked

Windows Installer Helper Utility Rate Topic: -----

#61 User is offline   pastl 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 26-May 04

Posted 01 July 2004 - 10:09 PM

Hello Benjamin,

you've done really good :rolleyes: work with this little programm, but i've still a little reques for you :). Is it possible to put more command-lines in each process, like command.0, command.1,.......?

It would be good for a few apps, witch start themselve after the installation process. I mean something like that.

[Miranda IM]
command.0=%systemdrive%\Software\miranda\Setup.exe /S
command.1=taskkill.exe /F /IM config.exe
description=like ICQ



Thanks for your help and good luck for your exams. :D


pastl


#62 User is offline   syntax_13 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-August 03

Posted 02 July 2004 - 12:23 AM

@pastl:

That would be a great feature. It could also be user to register programs through a .reg file. You know, first install and then register the installed program. That way you wouldn't need a seperate install option to register the installed software.

#63 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 02 July 2004 - 01:16 AM

@MarcoTips: You are right, is fixed now. I messed it up with milli seconds and multiplicated it with 1000 :)

Quote

Good luck on those exams...
Thx btw. I've got exam in "Programming Basics 2" today at 2pm. But I think this one is no problem for me;)

Quote

The next thing someone is going to ahve you do, is try to implement a plugin's part of the program, so people can design their own...

Yeah, that could be a good idea. May be this will be added in future.

Quote

I removed the attachment to xper's post, so people don't download that first and then complain it doesn't work how the new one does

Thank you, you are right that is really sensible.

@pastl: Ok I'll add this feature next days, maybe next friday after physics exam :rolleyes: May be sooner.

Benjamin Kalytta

#64 User is offline   pastl 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 26-May 04

Posted 02 July 2004 - 01:34 AM

@Benjamin

Thank's a lot for doing this. :) :rolleyes:

but by the moment, your exams are more important than this


Pastl :D

#65 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 02 July 2004 - 01:56 AM

I just added command.x in version 1.6.1. Was not as much work as I thought:)

Benjamin Kalytta

#66 User is offline   pastl 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 26-May 04

Posted 02 July 2004 - 01:59 AM

@Benjamin

than's alot for that.

:) :rolleyes:


i didn't thought that i'll get this so fast


pastl :D

#67 User is offline   PoloDude 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 08-June 04

  Posted 02 July 2004 - 05:33 AM

Is it possible to install programs from cd/dvd with wihu?
Like putting this in the [Environment]:
IF EXIST D:\CD.txt set CDROM=D:
IF EXIST E:\CD.txt set CDROM=E:
IF EXIST F:\CD.txt set CDROM=F:
IF EXIST G:\CD.txt set CDROM=G:
IF EXIST H:\CD.txt set CDROM=H:
IF EXIST I:\CD.txt set CDROM=I:
IF EXIST J:\CD.txt set CDROM=J:


Someone?

Thx!

Btw, superb progie! :)

#68 User is offline   syntax_13 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-August 03

Posted 02 July 2004 - 07:11 AM

@PoloDude

Starting progams from cd\dvd is possible.
Just start WIHU from cd and it will search on the same drive for the programs.
You don't need to use %cdrom% in your install.ini, instead use a command like this:

[Miranda IM]
command=miranda\Setup.exe /S
description=like ICQ


In the folder where wihu.exe is located it will look for the "miranda" folder and start "Setup.exe /S"

#69 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 02 July 2004 - 05:42 PM

BenjaminKalytta, on Jul 2 2004, 02:16 AM, said:

Quote

The next thing someone is going to ahve you do, is try to implement a plugin's part of the program, so people can design their own...

Yeah, that could be a good idea. May be this will be added in future.

umm....I was kidding by the way. lol. It's great idea, but not in practice. There won't be many people that make the plugins if any.

#70 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 02 July 2004 - 07:14 PM

Quote

umm....I was kidding by the way.
oops :)

Quote

There won't be many people that make the plugins if any

This is also a bit exaggerated ... but it would make wihu more manageable in sense of code clearness, ... may be.
But currently Im dealing with how to find the name of the builtin administrator (you know, different languages uses different administrator names).
I already find a way to change the administrator name, currently im working on code to find machine SID to built the builtin administrator SID in shape of "S-1-5-32-machine_sid-500". I already find the registry key (HKEY_LOCAL_MACHINE\SECURITY\SAM\Domains\Account)

Benjamin

#71 User is offline   PoloDude 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 08-June 04

  Posted 02 July 2004 - 08:32 PM

Is there a possibility to use some sub-sections?
Like when you have some "themes" you get something like this:

    ----Xtra Progiez ----
# Office 2003
# Photoshop CS
# Nokia PC Suite

     ------Codecs-------
# Divx Codec
# Xvid Codec
# AC3 Codec

     -------Beta's-------
# Visual Webdeveloper 2005
# Visual Basic 2005
# SQL Server 2005

     --- Xtra Filez -----
# Windows Visual Themes
# Xtra Wallpaperz
# Xtra Fonts

    -----Regtweaks-----
# Visual FX Tweaks
# Services Tweaks


text between the ---- xxx ---- like bold or something
And # is the checkbox :D

Just a Q, would be nice though :rolleyes:

Keep up the great work! :)

#72 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 03 July 2004 - 04:25 AM

@PoloDude: This is currently not possible, may be in future.

administrator account name can be changed now with /admin=<name>.
This is new in version 1.6.1.

Benjamin Kalytta

#73 User is offline   my2001 

  • Member
  • PipPip
  • Group: Members
  • Posts: 260
  • Joined: 31-May 04

  Posted 03 July 2004 - 05:21 AM

BenjaminKalytta, on Jul 3 2004, 04:25 AM, said:

administrator account name can be changed now with /admin=<name>.

Is this a complete replacement for that renuser.exe, etc. stuff? :rolleyes: No other actions to be taken?

Would be kewl :)

#74 User is offline   Lost Soul 

  • Snap ... Crackle ... Pop
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,746
  • Joined: 12-December 03

Posted 03 July 2004 - 05:52 AM

thatsa handy tool indeed good job :)

#75 User is offline   Bilou_Gateux 

  • Powered by Windows Embedded
  • PipPipPipPipPip
  • Group: Members
  • Posts: 766
  • Joined: 03-January 04

Posted 03 July 2004 - 06:18 AM

@BenjaminKalytta

Thanks for making your application Windows 2000 compatible.
And another thanks for implementing the command.x suggestion.

My sample for silent installation of the last version of Adobe Reader :
AdbeRdr6.ini
[Environment]

[Adobe Reader 6.0.2]
command.0=AdbeRdr6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""
command.1=AdbeRdr6\Acro-Reader_6.0.2_Update.exe -p /S /v/qn
command.2=regedit /s AdbeRdr6\AdbeRdr6.reg
command.3=AdbeRdr6\ReaderSpeedUp.exe
description=view and print Adobe PDF files
default=1


and the command to launch :
wihu.exe /SkipRestart /SkipSettings /AutoInstall=1 /ini=AdbeRdr6.ini

Thanks to msfn.org members for silent switchs and reg files :
Acro-Reader_6.0.2_Update.exe
Jjaz .reg post
Adobe Reader SpeedUp (current version 1.21) see silent deployment in ReadMe.txt

#76 User is offline   Osmosis Jones 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-July 04

Posted 03 July 2004 - 08:23 AM

hi i have have a prob.
i can start normal installers like adobe acrobat reader, but if i want to start msi files wihu stops with an error message "error 193".

#77 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 03 July 2004 - 09:08 AM

you may have to use MSIEXEC.EXE /I (MSIFILE) to install them. Maybe even %systemroot%\system32\msiexec.exe /I (PATHTOMSI)

#78 User is offline   Osmosis Jones 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 03-July 04

Posted 03 July 2004 - 09:11 AM

thanks that was it.

MSIEXEC.EXE /I (MSIFILE) is enough.

#79 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

Posted 03 July 2004 - 01:03 PM

Your are right, it's should be called with msiexec.exe /i <msifile.msi>.

@my2001:
Yes this is a complete replacement for renuser if you only want change Administrator account name for example. But note: Changing administrator name doesn't really improve security. What you have to do is, creating a new user account with administrator rights, and disable or delete administrator account.

Benjamin Kalytta

#80 User is offline   syntax_13 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-August 03

Posted 03 July 2004 - 03:44 PM

Benjamin, two questions:

1. Correct me if a am wrong, but using the /admin=<name> commandline parameter it is not possible to create a new account and rename the default Administrator account into that. Maybe that could be realised by adding a checkbox "rename default Administrator account" next to the "Administrator rights" one.

2. I can check a file using the File.x= line in the install.ini file. Can this command also be used on files without a version number. If not, could you please add that. Not all files have a version number (e.g. some MS Powertoys). Only checking if a file exists is enough sometimes.

Share this topic:


  • 27 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • This topic is locked

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy