Coretech Auto Install Warning – Freeware

DOWNLOAD REMOVED!

Update: New version out. please look at :

http://blog.coretech.dk/home/coretech-auto-install-warning-1-0-3-freeware-update/

When we are deploying application to the user’s computers, we sometimes want to warn them about what is happening.

This is to prevent any complains about etc. “My Computer is slow”, “Do i have Virus?” or similar complains that might occur when the computer slows down while installing.

Therefore i have created this small utility. It can show a message, with a countdown, that all.

This can be used in etc. Config Mgr Setups.

for a guide of how to use it please read:

http://blog.coretech.dk/confmgr07/software-distribution/running-a-custom-notification-before-installing-a-program-with-configuration-manager/

AutoInstallWarning

Requirements:

Windows XP / Vista / Server 2003 / 2008

Microsoft .Net 2.0 Framework

Windows installer 3.1 (required by the msi installer)

Command line:

AutoInstallWarning.exe “Windows Title” “Message” “timeout in seconds”

Example:

“C:\Program Files\Coretech\AutoInstallWarning\AutoInstallWarning.exe” “Office 2007 Installation” “Internal IT is deploying Office 2007, it might take approx. 30 minutes” 30

Remember all string arguments, must have quotes around them if they contain space.

The last argument is an integer, therefore it does not need quotes.

Files:

AutoInstallWarning.exe.config:

This xml file contain all application settings

Example:

<setting name="WindowTitle" serializeAs="String">
                <value>Installation is about to begin</value>
            </setting>
            <setting name="BannerLocation" serializeAs="String">
                <value>.\banner.jpg</value>
            </setting>
        </AutoInstallWarning.Properties.Settings>
    </applicationSettings>
    <userSettings>
        <AutoInstallWarning.Properties.Settings>
            <setting name="CountDownTitle" serializeAs="String">
                <value>Closing in...</value>
            </setting>

Setting Description
WindowTitle The title for the window, this is not usually shown because it is set from the command line. But sometimes i could be shown for a short while (0-1 second)
BannerLocation Here you can change the name of the banner image file
CountDownTitle The label for the countdown can be changed here.

banner.jpg:

This is the banner file, by default it is a coretech banner.

Change it to whatever you like.

 

AutoInstallWarning.exe:

The main application file

InstallWarningSetup.msi:

MSI Installer for the application.

Notice that the file are placed externally, this gives you the opportunity to change the baner, or settings, and keeåp using the same msi installer.

It is important that ALL files is placed in the same directory as the MSI file, for it to work

 

Errorcodes:

Errorcode Description
0 Application successfully completed
1 More or less arguments that the 3 required.
2 Argument 3 (timeout i second), can not be converted to an integer. Check

Banner:

 

Size: Must be 300×100 for the banner to show correctly, smaller or larger can be used also though, but they will not be resized.

Name: banner.jpg, by default. This name can be changed in the config file


Comments (5):

  1. Joseph Gignac says:

    Can’t seem to get this to work with windows 7 any ideas

  2. Neony says:

    Hey. That I was looking for. Interesting write.

  3. Kiran says:

    It is working fine for me, I think if some develop bit more by adding “post phone” button option by keeping into loop this the user click on OK button, in this script would be much helpful

  4. Josh says:

    I have tested the product running the msi localy to install. However my original purpose to use the software is to have it run before another program in SCCM 2007 SP2.
    I have packaged files and updated the distribution points where I want, however when I try to deploy the software the download never finishes. After looking at W32VC1 logs for IIS I see 407.7 returned. I have added these files, set as true, under applicationhost.config but the download still hangs.
    Have you ever run into this before and if so do you have any advice?

    • Hello Josh

      Sorry it is not aproblem i have experienced before. by searching google it seems that 407 is a permission problem. I do not think it has something to do with this exact package, but a problem in permissions/certificates or similar.

Leave a Reply

(required)