Solved

Using iexpress to write inf file

Posted on 2008-11-01
1
1,030 Views
Last Modified: 2013-11-14
The platform is Windows XP. I want to install several files and am using Iexpress to package them.  I want the user to be able to click on the exe. and then have two scripts run.
The first VBS (odd.vbs) installs in My Documents and the second (TFP.vbs) installs in C:root.
How would I write the inf script to do this?  Do I need a batch file to run the VBS files too?
0
Comment
Question by:Dier02
1 Comment
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 22864859
Hi, I do not know what iexpress is, nor how to configure it.  However, I can offer a suggestion.  Let's assume, for samples sake, that you are installing an MSI that has been packaged to place the following files upon install:
%USERPROFILE%\My Documents\odd.vbs
C:\TFP.vbs

So, with that taken care of by the MSI, you want to execute those script after the installation.

I would a Batch to actually perform the MSI installation, then run the two scripts.

Something like this:

REM =============
start /wait MSIExec /i /qn \\server\share\MyProgram.msi
wscript "%USERPROFILE%\My Documents\odd.vbs"
wscript C:\TFP.vbs
REM ============

So, in theory, all you would need to do is change the MSIExec command on the first line to perform your iExpress install.

Hope that helps.

Regards,

Rob.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question