Jump to content

Run only allowe windows app


Oxygen

Recommended Posts

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 )

Link to comment
Share on other sites


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

Link to comment
Share on other sites

  • 2 weeks later...
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)?

Edited by Molecule
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...