Nunit complete install silent
Hiya,
I was wondering if anyone knew what the command/script was for a complete install. I want to try and do this silently but I can't seem to get the command right.
I've tried using Orca to pull the property but I'm not sure which one it is - looks like:
WixUI_SetupTypeDlg_NextComplete but I'm not clear on what the value should be. Tried Yes and a few others with no luck so far.
Would really appreciate the help!
Thanks!
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
rileyz
11 years ago
Err?? Did you even try google?
msiexec /i nunit.msi /qb /l*vx %systemroot%\logs\nunit.log
if it craps out, make sure the log path is correct.
Comments:
-
Hi rileyz, thanks for your input. I had already managed to get that working, however this does not give a complete install as some components are left out of the default options. I am looking to add the .NET support which is not included by default, which I have been unable to to locate by googling so far.
If you mean I should be looking at the logs for clues, that does not produce a log file despite the code running fine. - bookert 11 years ago-
Have a look at this link to get a understanding of the feature table.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa368585(v=vs.85).aspx
Open up the MSI with InstEd! or Orca, InstEd! is a bit nicer to use and it will make the changes to reflect across all tables unlike Orca.
When you have it open go Transform > New Transform (InstEd!). Find the the feature table and look for the feature you need for .Net. Change level attrib to 1 so it will get installed as standard.
Make any other changes you need too etc and save the MST.
apply the MST like this.
msiexec /i nunit.msi TRANSFORMS=nameifyour.mst /qb /l*vx %systemroot%\logs\nunit.log - rileyz 11 years ago
-
Thank you so much for this, I'd seen the transform feature but didn't understand how to use it. Works perfectly. - bookert 11 years ago