Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x