This project is read-only.
1
Vote

Silent or unattended installation

description

Are there command line parameters I can use to perform a silent or unattended installation of NodeXL? I need to create this within SCCM for distribution, but can't find any help on doing this. running setup with a /? provides some info, but says all other commands will be passed to the installer. I have tried /S, /s, /qn- among others, but I am still getting prompted to do things during the install. I will set this up to install VSTOR seperately so I have greater control of the install process.

Any help would be great.

Thanks

comments

tcap479 wrote Jun 9, 2014 at 11:34 PM

There are two versions of NodeXL, and they use very different setup programs. Are you trying to perform a silent install of the latest version, which is called "NodeXL Excel Template 2014" and is available at http://nodexl.codeplex.com/releases?

-- Tony

mlburgoon wrote Jun 10, 2014 at 1:33 PM

Yes, I am. I believe that is the one. I receive code from my users within the company, but I am pretty sure that is it. This install when ran goes out and downloads files from the web. The versions of the file at the location you provided and the file I have are the same. Also, the names are the same.

tcap479 wrote Jun 10, 2014 at 5:13 PM

First, I've never tried this, and I don't know if it will work. But here is some information that should help you try it yourself.

The NodeXLExcelTemplate2014Setup.exe program is a "bootstrapper" that performs the following tasks:

1) It installs .NET Framework 4 if it is not already installed.

2) It installs Microsoft Visual Studio 2010 Tools for Office Runtime if it is not already installed.

3) It uses a program called VSTOInstaller.exe to install NodeXL itself.

I don't think NodeXLExcelTemplate2014Setup.exe can be run without user interaction, so I recommend discarding that program and performing the three steps yourself.

The prerequisites in steps 1 and 2 may already be installed on your target computers. If they are not, installers for them are available from Microsoft, and I think they can be installed silently.

In step three, the VSTOInstaller.exe program can be found at %commonprogramfiles%\microsoft shared\VSTO\10.0\VSTOInstaller.exe. It's documented here:

http://msdn.microsoft.com/en-us/library/vstudio/bb772078%28v=vs.100%29.aspx

And here is what I think is the command line to install NodeXL:

VSTOInstaller.exe /Install http://www.nodexlgraphgallery.org/NodeXLSetup/Smrf.NodeXL.ExcelTemplate.vsto /Silent

Again, I haven't tried this, but if I were to try it, it would definitely be on a disposable virtual machine.

Let me know what happens.

-- Tony

mlburgoon wrote Jun 10, 2014 at 8:46 PM

this appears like it is going to work except it doesn't quite work LOL. when I don't use the /silent switch, I see it working just fine and can step through the process. when I use the /silent switch, I get an error. I also don't get a log file anywhere to try and figure out what is happening.

I also notice that during the install, it downloads 3.77 mb of info from the site. Is there anyway I can get those files? when installing with SCCM, we don't have the access to download anything from the internet.

Is there an .msi install available? the previous version I did, I could extract an .msi from the .exe and install it that way.

thanks for the help so far.

tcap479 wrote Jun 10, 2014 at 10:43 PM

It won't do us any good to try to work through the mysterious /silent error, now that you've mentioned that you can't download anything from the Internet. The 2014 version of NodeXL uses a setup technology called "ClickOnce," and ClickOnce programs are tied to their source folder, which is on a website in our case. You cannot download the files to a local file share and try to install from there, because ClickOnce will notice the changed folder and will refuse to install anything.

Did you say you were able to do what you needed to do with an older version of NodeXL? If so, I would just stick with that. I don't have a better solution for you.

-- Tony