Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe Customization Wizard allows users to click "cancel" during install!

Community Beginner ,
Aug 13, 2018 Aug 13, 2018

This is pretty simple, it is determined by whatever switches are being passed by the Adobe Setup.exe but the way it is now, when you create a custom install using the Adobe Customization Wizard and run Acrobat DC via Setup.exe, it allows the user to cancel install, as the "cancel" dialog is there and displayed to the user. If Adobe would just pass the "/QB-!" switches to the MSI for the basic UI, it would also suppress this ability but I don't think there is a way for me to change this programatically. Having it run hidden is not a good workaround either as we try and never run hidden when possible, too many users mistake slow response for "needing a reboot". Is there any workaround for this?!

Jack

6.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Aug 14, 2018 Aug 14, 2018

JackFetter  wrote

My current CmdLine looks like this:

CmdLine=/spb /rs /smur

Please review and let me know what needs to be removed, since I don't have /sAll (I have the Customization Wizard setup for "Unattended, only a progress bar")...

Regards,

Jack

It was right there, after I typed "Unattended, only a progress bar", it sounds a lot like "Silent, no progress bar", or "/spb" 😉

Simply remove "/spb" from the [Startup] CmdLine and add "/QB-!" to the [Product] CmdLine!

Thank you for the help, much apprec

...
Translate
Adobe Employee ,
Aug 13, 2018 Aug 13, 2018
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

I understand the /q switches well and I see the line that reads "When using the bootstrapper, command line parameters can be sent to msiexec from Setup.ini using /msi" but I'd like to see the proper syntax as I already tried a few variations before posting this (it just seemed like this might work when I looked at the Setup.ini. IN fact the existing Setup.ini has these 2 lines already:

[Product]

msi=AcroPro.msi

...

...

CmdLine=TRANSFORMS="AcroPro.mst"

I tried adding to the CmdLine and that didn't work, should I append to the existing msi= line (the explanation shows a slash /msi but that seems wrong?), that seems to only expect the name of the msi to call? Any example of the proper syntax would be very welcome...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 13, 2018 Aug 13, 2018

Without providing the cmds that didn't work, commenting on that is somewhat difficult.

I wouldn't try to use the ini file to pass cmds. Just do it on the cmd line and it's easier to troubleshoot (because then you don't have to troubleshoot the ini file itself).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

I don't understand exactly what this means:

"When using the bootstrapper, command line parameters can be sent to msiexec from Setup.ini using /msi"

Does it mean add lines to the INI or pass them to the exe by adding /MSI along with the command, this is why an example would help, just show me how and where to pass "/QB-!" to the MSI...

Thank you again,

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 13, 2018 Aug 13, 2018

Again, do it on the cmd line and post your line if it fails.

msiexec /i <path\AcroPro.msi> LANG_LIST=en_US TRANSFORMS="1033.mst"  /qb-!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

I would have done this by choice initially but I can't run the MSI directly if I want to use the Offline Licensing feature, which seems to be performed by the Setup.exe. This should be simple, you guys are already passing "/QB" to the MSI when I choose "Unattended, only a progress UI" in the Customization Wizard, someone there knows how this is passed and if what I want is possible. We're talking in circles it seems, I have 25 years packaging experience, I assure you I do understand how MSI's work. I simply need to suppress the ability to cancel when launched from Setup.exe, something you guys could easily have done if you wrote the wizard to pass "/QB-!" instead if "/QB", maybe this simply isn't possible...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 13, 2018 Aug 13, 2018

I'm not an expert in this area. According to the doc, this looks possible:

CmdLine=/sAll /qb!+ /[addmoreswitcheshere]

Try and post back. In the meantime, I'll ping some sharper pencils.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 13, 2018 Aug 13, 2018

One engineer suggests this under the Product line in the ini file:

[Product]

CmdLine=TRANSFORMS="AcroPro.mst" /qb-!

I'm waiting on additional info, but perhaps you might try that out.

[Product]

CmdLine=TRANSFORMS="AcroPro.mst" /qb-!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

This was the first attempt I tried on my own before ever opening this thread, it seemed logical to place it here but the behavior was the exact same as without...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

EnterpriseHelp  wrote

I'm not an expert in this area. According to the doc, this looks possible:

CmdLine=/sAll /qb!+ /[addmoreswitcheshere]

Try and post back. In the meantime, I'll ping some sharper pencils.

I will try this but these aren't valid Windows Installer switches (at least the ones that are there by default). To me this looks like commands that are passed to the exe...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

JackFetter  wrote

EnterpriseHelp   wrote

I'm not an expert in this area. According to the doc, this looks possible:

CmdLine=/sAll /qb!+ /[addmoreswitcheshere]

Try and post back. In the meantime, I'll ping some sharper pencils.

I will try this but these aren't valid Windows Installer switches (at least the ones that are there by default). To me this looks like commands that are passed to the exe...

Jack

As I guessed, ignored, no change in install behavior...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2018 Aug 14, 2018

[Edited]

An engineer says the the setup.exe reads the Startup section. When it invokes the MSI, the Product section is read. I'm still waiting on more info (because the answers generate more questions), but here's some info:

  • /qb switch is for MSI processing and should not be used in [Startup] section CmdLine.
  • Remove /sAll switch from [Startup] CmdLine: /sAll switch runs everything in silent mode.
  • /qb-! switch in [Product] section CmdLine works as designed – no Cancel button in basic UI

I'll make sure the docs are updated when you have a satisfactory answer. Thanks for your patience.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 14, 2018 Aug 14, 2018

My current CmdLine looks like this:

CmdLine=/spb /rs /smur

Please review and let me know what needs to be removed, since I don't have /sAll (I have the Customization Wizard setup for "Unattended, only a progress bar")...

Regards,

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2018 Aug 14, 2018

Did you try this?:

[Product]

CmdLine=/qb-!

As mentioned above, that's supposed to provide what you need.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 14, 2018 Aug 14, 2018

JackFetter  wrote

My current CmdLine looks like this:

CmdLine=/spb /rs /smur

Please review and let me know what needs to be removed, since I don't have /sAll (I have the Customization Wizard setup for "Unattended, only a progress bar")...

Regards,

Jack

It was right there, after I typed "Unattended, only a progress bar", it sounds a lot like "Silent, no progress bar", or "/spb" 😉

Simply remove "/spb" from the [Startup] CmdLine and add "/QB-!" to the [Product] CmdLine!

Thank you for the help, much appreciated!

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 14, 2018 Aug 14, 2018
LATEST

Thanks for the question and persistence. I know what it's like to have work blocked by something trivial. Docs updates will likely happen tomorrow.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 13, 2018 Aug 13, 2018

Yes, if run via MSI directly it works as I need, but again, I have to run it from Setup.exe...

Jack

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines