logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
itinfserv  
#1 Posted : Thursday, March 23, 2017 8:53:04 AM(UTC)
itinfserv


Rank: Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 2/11/2014(UTC)
Posts: 20

Was thanked: 1 time(s) in 1 post(s)
Is it possible to pass arguments to the installer via command line?
Basically, its easier to manage a single install file rather than 1 per customer and then have an RMM tool deploy this using something like /org:CompanyName

Is this possible?
Scott  
#2 Posted : Friday, March 24, 2017 12:05:51 PM(UTC)
Scott


Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,370
United States

Thanks: 3 times
Was thanked: 291 time(s) in 249 post(s)
So there isn't really a clean way to do this, but I suppose it is technically possible. You would have to use a program like Orca or SuperOrca to modify the msi itself.

There's a bit more info in other areas on this forum, like: here,here, or here.
ScreenConnect Team
SoCo_Systems  
#3 Posted : Wednesday, May 17, 2017 2:53:36 PM(UTC)
SoCo_Systems


Rank: Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 1/29/2014(UTC)
Posts: 30
Man
United States
Location: Indianapolis, IN

Was thanked: 3 time(s) in 3 post(s)
You can use system variables as part of the install settings for the MSI. I use %RemoteSupportName% for the name on mine, and use a script to install the MSI file, after it sets the RemoteSupportName key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

You could do the same by setting say customproperty2 to %SupportCompanyName%, and then set that key with an argument passed to your script.
MannyTC  
#4 Posted : Wednesday, May 17, 2017 3:21:16 PM(UTC)
MannyTC


Rank: Advanced Member

Medals: Bug Buster Level One: Spoon!Level 3: Shirt off your back! Received 25 Thanks!

Joined: 2/19/2015(UTC)
Posts: 240
United States
Location: AZ

Thanks: 7 times
Was thanked: 44 time(s) in 38 post(s)
As SoCo_Systems mentioned you could use the environmental variables. Here is what I do sometimes:

Quote:
You can choose "Use Specific Value" when creating your installer. In the value, type in %CustomPCName% or something like that. Repeat with other variables for any other fields you have turned on in your installer. Then when you download that installer to the customers PC you set the values of those variables before running it. As an example you would type in the following at a command prompt before running the installer:

SETX CustomPCName "Mary Jones"

Then run your installer. The installer will pull the name Mary Jones as the Machine Name. You could create a batch file that will ask for all the values and then launch the installer. If you need help with that let me know
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.