Oxygen Posted November 11, 2009 Posted November 11, 2009 hii alli 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 packagecmdow @ /HID@echo offtitle Microsoft .NET Framework 3.5echo.echo Installing Microsoft .NET Framework 3.5...start /wait dotnetfx35.exe /norestart" /norestartecho.echo Installing Windows Media Encoder 9...start /wait WMEncoder.exe /Q:A /R:Necho.echo Installing Crystal Report 2008 Runtime...start /wait CReport.msi /qnecho.echo Installing CCMS...start /wait CCMS.msi /qand every thing goes fine except the last 2 actionsCrystal report.msimy app.msiso 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 )
Tripredacus Posted November 12, 2009 Posted November 12, 2009 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.
Oxygen Posted November 12, 2009 Author Posted November 12, 2009 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 filesi will give it a try
Molecule Posted November 26, 2009 Posted November 26, 2009 (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"•/norestartthanksancillary 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 November 26, 2009 by Molecule
IcemanND Posted November 26, 2009 Posted November 26, 2009 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now