PC Applications forum

General discussion

automating an installation (.msi)

by shades44 / June 14, 2004 3:02 AM PDT

hello,

I want to automate an installation and what i have is the source code
of the web application and the .msi installation file. By automate i
mean automatically answer whatever input prompts the setup dialog may
have and make it run passively so that i end up with the program
installed (according to predefined settings) without having to sit
through the installation. Now being new at this i considered a few
alternatives, namely editing the msi with ORCA (to see if it was
possible to dictate the course of the installation - by simulating
'yes'/'no' clicks and text input), and i considered just creating a
new setup project in Visual Studios .Net and making a new .msi setup
file out of the source code. The second alternative i guess would mean
that everytime i want to run the installation with different
predefined settings i would have to create a new .msi file.

If creating a new msi is the only way then i will have to create a
setup project and include a merge module in it that is given to me.
What I am unclear about is how to tell what the msi has to know about
the merge module. Is it self sufficient? as in do i include the merge
module in the files (with the project in the solution explorer) and
forget about it or is there more to it than that? any light shed on
this would be appreciated or even any references that would be of
help.

Thank you.

Discussion is locked
You are posting a reply to: automating an installation (.msi)
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: automating an installation (.msi)
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: automating an installation (.msi)
by R. Proffitt Forum moderator / June 14, 2004 4:02 AM PDT

Frankly, your installer needs a quiet install mode.

Or go find REGMON and FILEMON to see what the installer does and what files are affected, then write your own installer.

Bob

Collapse -
Re: automating an installation, get AutoIt
by ChuckT / June 14, 2004 4:59 AM PDT

Look for a program called "AutoIt" It is freeware.

Here is what is said by the developer, see if this seems to answer what you want to do:
"AutoIt is a simple tool that can simulate key presses, mouse movements and window commands (maximize, minimize, wait for, etc.) in order to automate any windows based task (or even windowed DOS tasks).

AutoIt was primarily designed to assist in automatically installing software that cannot be automatically installed by other means. This is most useful during a PC rollout where hundreds or thousands of client machines need to be automatically installed. However, AutoIt is not limited to software installation and can be used to automate most simple windows tasks."

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?