Solved

Using iexpress to write inf file

Posted on 2008-11-01
1
1,033 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

808 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