myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


How to add batch files to an MSI????

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Scripting Technologies] >> Windows Installer - MSI >> How to add batch files to an MSI???? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to add batch files to an MSI???? - 5/19/2006 10:50:53 AM   
w2

 

Posts: 5
Score: 0
Joined: 7/4/2005
Status: offline
I have 2 batch files I need to add to an MSI.
The first batch file checks if the application is already installed. If it is already installed the installation is halted. If the app is not installed, installation continues. The last batch file runs after the install and sets security using CACLS commands.

How can incorporate these batch files/or the functions they perform into the MSI package?
Thanks!
Post #: 1
RE: How to add batch files to an MSI???? - 11/25/2008 10:58:38 AM   
smcgarrity300


Posts: 133
Score: -11
Joined: 4/29/2002
From: Texas
Status: offline
Add via custom action - and sequence according to need

_____________________________

Samuel M McGarrity Jr
Software Developer

" exitus acta probat"

(in reply to w2)
Post #: 2
RE: How to add batch files to an MSI???? - 11/25/2008 11:14:37 AM   
SMSExpert

 

Posts: 193
Score: 39
Joined: 10/28/2008
Status: offline
Do you need any batch script or the sequence?
If script, pls let me know.
If sequence, you can add the both operations in one simple script.
it would be like the below:
Script Flowchart:
step1- Check for application
step2- if exists, hault
step3- if not exists, install
step4-end
 
Thanks.

(in reply to smcgarrity300)
Post #: 3
Page:   [1]
All Forums >> [Scripting Technologies] >> Windows Installer - MSI >> How to add batch files to an MSI???? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.250