Solved

Using iexpress to write inf file

Posted on 2008-11-01
1
1,024 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Well hello again!  Glad to see you've made it this far without giving up.  In this, the fourth installment of my popular series, I'm going to cover functions and subroutines, what they are, and why they are useful.  Just in case you stumbled onto th…
Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now