Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Passing installation parameter to exe

InstallerGeek created the topic: Passing installation parameter to exe
Hi,

Here is the relevant lines from the wxs file:



How do I pass installtion parameters to preagent.exe?

For example “preagent.exe -d d:\tmp”

applicationPackaging replied the topic: Re: Passing installation parameter to exe
Preagent.exe is a file you are installing, using for configuration, or both?
You need to call it with those parameters as the installing user or elevated? It needs to be visible to the user when it runs or not? It should have those parameters every time it runs or just once? Can you do the same thing to the OS that it does with those parameters without running it?

InstallerGeek replied the topic: Re: Passing installation parameter to exe
1. Preagent.exe is an instalation file of Novell ZenWorks agent.
2. I need to call it with parameters as the installing user(the system account in this case).
3. It will run unatennded, enforced by a machine GPO.
4. It should have those parameters every time it runs.

“Can you do the same thing to the OS that it does with those parameters without running it?”
Sorry, I didn’t understand this question..

applicationPackaging replied the topic: Re: Passing installation parameter to exe
The second questions asks if you can set registry values/write file changes/whatever else that running the preagent.exe would have done for you to avoid using it.

Is preagent.exe needed by your installation after it is complete or only when installing, repairing, upgrading, and possibly removing the product?

InstallerGeek replied the topic: Re: Passing installation parameter to exe
1. Yes I can, but I don’t want to do it maually on every workstation.
2.Only for installing.

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x