Reply to Thread

Post a reply to the thread: How to install setup.exe with group policy

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 08-31-2020, 01:11 AM
    testuser

    Re: How to install setup.exe with group policy

    Ok, Thanks Friedrich.
  • 08-27-2020, 07:38 AM
    linder

    Re: How to install setup.exe with group policy

    Hello,

    $SB_ALLUSERSFLAG$—If flag set, the software will be installed for all users. If not set and the destination computers is running Windows NT, Windows 2000, Windows XP, 2003, Vista, Windows Server 2008, Windows 7, or Windows 8 and later it will be installed for the current user.

    This lets you control the per-user / per-machine handling (registry, shortcuts, etc.).

    Friedrich
  • 08-27-2020, 07:06 AM
    testuser

    Re: How to install setup.exe with group policy

    Hello,

    Thanks Friedrich, your demo application helped me for in debugging the error.

    I had set $SB_ALLUSERSFLAG$ to 0 that is why it was not adding entry in Add/Remove programs. I commented out the line for $SB_ALLUSERSFLAG$ to 0 and then it worked fine.

    Can you please elaborate on $SB_ALLUSERSFLAG$ like when should we use it, usecases or scenarios??

    Thanks!!
  • 08-27-2020, 04:29 AM
    linder

    Re: How to install setup.exe with group policy

    Hello,

    I have uploaded my test project:

    https://www.setupbuilder.com/projects/test_msi.zip

    Friedrich
  • 08-27-2020, 03:00 AM
    testuser

    Re: How to install setup.exe with group policy

    Hello,

    I tried installing test_msi.msi file, it does create entry in Add/Remove programs. Can you please share the project file for this test_msi project, so that we can compare and verify.


    Thanks!
  • 08-26-2020, 07:41 AM
    linder

    Re: How to install setup.exe with group policy

    See attached screenshot. This is a embedded EXE and it creates the Add/Remove info without any problem. NOTE: I did not code-sign the file!

    https://setupbuilder.com/projects/test_msi.msi

    Friedrich
  • 08-26-2020, 07:02 AM
    testuser

    Re: How to install setup.exe with group policy

    Thanks Friedrich!

    What is the best way to embed exe file to msi using setupbuilder? I have tried using "#prgma exe2msi" to create msi, but when installed through this msi, it does not create entry in Add/Remove programs of control panel.
  • 08-26-2020, 06:25 AM
    linder

    Re: How to install setup.exe with group policy

    Hello,

    you have several different options. What you can do is to embed the generated setup.exe into a setup.msi and it will deploy silently using a Group Policy Object under Active Directory.

    Friedrich
  • 08-25-2020, 08:25 AM
    testuser

    How to install setup.exe with group policy

    Hello,


    How to install setup.exe with group policy?


    Thanks in advance!

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •