Solved

Using iexpress to write inf file

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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