Jump to content


AmrelMahdy

Environmental Variables with SCCM

Recommended Posts

Dears,

i'm Distributing a Software that should point to a file using the FULL path , relative path Won't work , so when I install the Software Manually using the CMD it is "setup.exe /s /f1"%cd%\setup.iss" and it works Great , but when I use the same sytnax with the SCCM the %cd% doesnt work.

There is anyway so that I can point to this file using the FULL path from the SCCM.

 

Hint:Solution of running from Distribution point is not applicable in my case as the Software Package Size is large

regards,

Share this post


Link to post
Share on other sites

Dear Peter,

Thanks for your quick response , This variable is new to me , I searched on this variable but i didnt get the Idea , would you please tell me how to use this variable in my case ?

And I use this variable when I'm creating the .iss file , or when I'm Distributing it through SCCM ?

Share this post


Link to post
Share on other sites

Dears, Thank you all for your Quick response , But I Found a Very Simple way , when i create the Answer file I have to do the following:

CMD> <FullPath>\setup.exe -r -f1"<FullPath>\setup.iss

Now we'll have setup.exe and setup.iss in the same location

for the silent installation

CMD> <FullPath>\setup.exe -s ,, and no need to point to the setup.iss file , it will be loaded automatically but it should be named as "Setup.iss" and created as shown in the first step ,, I distributed the Package using SCCM using the same Sytnax and it Worked , I really need to thank you all :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.