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.
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND