MS Windows - how to "silent" install "MyProgram Install 32Bit msi.exe"?

how to "silent" install "MyProgram Install 32Bit msi.exe"?

LVL 1
longjumpsAsked:
Who is Participating?
 
aparis99Connect With a Mentor Commented:
Are you meaning your own program or a random program? Here is a list of popular software and their switches

http://www.msfn.org/board/topic/12657-application-switches-contributions-only/
0
 
sarabandeConnect With a Mentor Commented:
should be like

msiexec /i YOURPACKAGE.msi /quiet

Open in new window


you may type msiexec /? at the command line to get more info on commandline mode.

Sara

0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Sekar ChinnakannuConnect With a Mentor Staff EngineerCommented:
you can install the .msi through group policy while users login to their workstations.

In GPO computer Configuration - Windows Settings - Scripts or Computer Configuration - Software Settings  - Software Installations
0
 
longjumpsAuthor Commented:
msiexec /i "MyProgram Install 32Bit msi.exe" /quiet


nothing happens, why? Can see any output.

Please advice,
Semyon
0
 
sarabandeConnect With a Mentor Commented:
try

msiexec /i "MyProgram Install 32Bit msi.exe" /quiet /log errors.log

should give output in log file.

Sara
0
 
longjumpsAuthor Commented:
I run

msiexec /i "MyProgram Install 32Bit msi.exe" /quiet /log slog.log

and slog.log is empty!

Please advice.

0
 
sarabandeCommented:
does it work when you omit the /quiet?

Sara
0
 
Neil RussellTechnical Development LeadCommented:
Did the program install maybe?
0
 
sarabandeConnect With a Mentor Commented:
when i do

msiexec /i xxx.msi /quiet /log x.log

and there is no xxx.msi in the current folder i also get no message and no log.

so you need to cd to the folder where the msi file resides.

i personally also would try to rename the file to a name that has no spaces and only ascii chars.

Sara

0
 
longjumpsAuthor Commented:
Without /quiet I get error

 error on message
Please put attention that it is not MSI file, but MSI.EXE!

And when I run this MSI.EXE without msiexec it is fine.

I need it in silent mode without GUI.

Please advice.
0
 
sarabandeCommented:
try to start the msi.exe with the /quiet added.

if that doesn't work you either would need to recreate the msi.exe such that the /quiet option is included or you find the .msi file which in my opinion should be part of the project that creates the msi.exe

Sara
0
 
longjumpsAuthor Commented:
I am going lost...

I created msi.exe file which is install good in regular mode with gui,

so what I should do run it in silent mode??

It seems that "msiexe" can run exe files like ".msi.exe"! Isn't?

0
 
sarabandeConnect With a Mentor Commented:
no. msiexec runs .msi files while msi.exe files are already executables where the msiexec is bound to a .msi file. it is like an self-extracting zip file.

but when you created the msi.exe you should have a .msi file as input.

did you try to start the msi.exe and pass the /quiet argument?

"MyProgram Install 32Bit msi.exe"  /quiet

how did you create the mis.exe ?

Sara
0
 
longjumpsAuthor Commented:
Once

"MyProgram Install 32Bit msi.exe"  /quiet

it is running gui, not silent.
0
 
sarabandeCommented:
do you have a msi project where you built the "MyProgram Install 32Bit msi.exe" ?

Sara
0
 
longjumpsAuthor Commented:
Yes I have project.

Do you know how to convert it from msi.exe to .msi?
0
 
sarabandeConnect With a Mentor Commented:
no, it is normally not necessary to do it that way cause an msi project would make a msi.exe out of a .msi. but i will try to find out whether the .msi can be extracted from exe.

Sara
0
 
longjumpsAuthor Commented:
not precise answers.
Expert "sarabande" didn't provided information on last question

---
no, it is normally not necessary to do it that way cause an msi project would make a msi.exe out of a .msi. but i will try to find out whether the .msi can be extracted from exe.

Sara
--

Best regards,
longjumps
0
 
sarabandeCommented:
i found an article where they made a local installation with the msi.exe and while the installation was running looked at installation folder (or temp folder). here the extracted  .msi file was available. additional to the .msi you would need .cab files also extracted from executable.

once you have the unpacked files you can copy them to another folder and then run the msiexec with the .msi. unfortunately there is no guarantee that it works that way, but i think there is a good chance.

Sara
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.