Jump to content

Recommended Posts

Posted

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 )


Posted

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.

Posted
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

  • 2 weeks later...
Posted (edited)
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
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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