Solved

Using iexpress to write inf file

Posted on 2008-11-01
1
1,039 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
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.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 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