MSFN Forum: Run only allowe windows app - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Run only allowe windows app Rate Topic: -----

#1 User is offline   Oxygen 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 29-October 09

Posted 11 November 2009 - 02:38 PM

hii all

i have a little problem , i want to deploy this SFX silently using GP that apply "run only allowed windows application" so i made this .bat file and add the domain user to local admin for this pc to be able to run this package

cmdow @ /HID
@echo off
title Microsoft .NET Framework 3.5
echo.
echo Installing Microsoft .NET Framework 3.5...
start /wait dotnetfx35.exe /norestart" /norestart
echo.
echo Installing Windows Media Encoder 9...
start /wait WMEncoder.exe  /Q:A /R:N
echo.
echo Installing Crystal Report 2008 Runtime...
start /wait CReport.msi /qn
echo.
echo Installing CCMS...
start /wait CCMS.msi /q


and every thing goes fine except the last 2 actions
Crystal report.msi
my app.msi

so i think i can't remove the restriction from this extension ( .msi )
can anyone tell me what shall i do ??

( i used this package on xp in a workgroup and every thing goes fine , there is no problem )



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 6,988
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 12 November 2009 - 10:28 AM

You are trying to flat out run the MSI files. You should use MSIEXEC.EXE to run the script. On any PC type msiexec /? in a CMD to see how you should set up your command line.

#3 User is offline   Oxygen 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 29-October 09

Posted 12 November 2009 - 01:47 PM

View PostTripredacus, on Nov 12 2009, 06:28 PM, said:

You are trying to flat out run the MSI files. You should use MSIEXEC.EXE to run the script. On any PC type msiexec /? in a CMD to see how you should set up your command line.


i think it is not a /? switch issue , because i try to run the same sfx package on workgroup pc and the result was perfect
may b i will deploy .msi files and let other and let the sfx setup other exe files

i will give it a try


#4 User is offline   Molecule 

  • Member
  • PipPip
  • Group: Members
  • Posts: 145
  • Joined: 11-November 05

Posted 25 November 2009 - 08:51 PM

View PostTripredacus, on Nov 12 2009, 11:28 AM, said:

You are trying to flat out run the MSI files. You should use MSIEXEC.EXE to run the script. On any PC type msiexec /? in a CMD to see how you should set up your command line.


noobie still confused ...

for a standard install, would a line in a batch file running in folder c:\batch for msi installed programs then read (spaces shown as •)

start•"Product.msi"•/wait•msiexec•/i•"d:\sourcefolder\Product.msi"•/norestart

thanks

ancillary to this thead ... does it make any difference if the user who runs the batch is administrator, and the installed program will be used by a user group with less permissions (more secure group)?

This post has been edited by Molecule: 25 November 2009 - 08:56 PM


#5 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 November 2009 - 03:25 PM

doesn't matter whether you call it by the installer.msi, or by msiexec.exe, msiexec is used in either case, if msiexec is not in your list of allowed applications to run you are hosed.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy