/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Software Deployment - Disabling MsiEmbeddedUI for service because it's not a quiet/basic install

10/23/2017 1571 views
I work in a school in the IT-Department. We have a software called Schoolnet SecureTester for testing. We are trying to deploy it silently through SCCM. I have been able to customize the MSI adding the information need it for the installation. Everything goes through well, and the software works if you run it from the .exe in C:\Programs Files, but the Shortcut that it creates on the desktop does not target the actual .exe, it targets itself, but if I manually enter the right path for the .exe file it would go work just fine. Also, I have found that when running the installation silently I get this error message in the logs "Disabling MsiEmbeddedUI for service because it's not a quiet/basic install", but it doesn't show up if doing a regular installation. Thank you in advance
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

0
In the 'InstallExecuteSequence' table, add the condition 'Installed' (case is relevant, BTW) in the row with sequence number 799, the 'WixRemoveFoldersEx' Action row. That will cause that action to only run if the product is installed. Quite why the package developer didn't see fit to add an existence check in their called DLL function, I can't say but these 2 points should be fed back to Schoolsnet.
Answered 10/26/2017 by: VBScab
Red Belt

  • The error is gone. I really appreciated your help and time. I got this other one. MSI (s) (18:40) [09:37:43:973]: Note: 1: 2205 2: 3: Error
    MSI (s) (18:40) [09:37:43:973]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1302

Community Chosen Answer

2
The shortcut targets "itself" because it's an advertised shortcut

The MSIEmbeddedUI table is a provision for exactly that - a UI embedded in the MSI. This allows package developers to create a UI outside of the (perceived) restrictions/shortcomings of the Windows Installer dialogs. As you are running the installation silently, that table isn't processed. That's all that that log entry is telling you. 

Top marks for logging your installations, BTW. So many people don't and then go on-line asking why their installation has failed.
Answered 10/24/2017 by: VBScab
Red Belt

  • Thank you for your answer.

    Unfortunately, I don't have access to Wise Package Studio.I have been researching for something similar but had no luck. I have been trying to make changes to the shortcut using orca but it still targeting this 'C:\Users\username\Desktop\SchoolnetSecureTester ", but if I change that to the actual .exe it works fine.

All Answers

1
I couldn't resist looking...

It's NOT an advertised shortcut, just a poorly edited one!

Use your transform to simply add ".exe" to the end of 'Target' cell's content, so "[SECURETESTERFOLDER]SchoolnetSecureTester" becomes "[SECURETESTERFOLDER]SchoolnetSecureTester.exe".

Then, your installing command line becomes:
msiexec /i "[name_of_and_path_to_the_MSI]" TRANSFORMS="[name_of_and_path_to_the_MST]" /l*v "[[name_of_and_path_to_the_log_file]"

Answered 10/26/2017 by: VBScab
Red Belt

  • I just try it. but I got a different error now. I will try to isolate it. I look at the log and got this WixRemoveFoldersEx: Error 0x80070057: Missing folder property: SECURETESTERFOLDER for row: SecureTester
    CustomAction WixRemoveFoldersEx returned actual error code 1603 but will be translated to success due to continue marking
1
It's not an error but a 'Note'. Hence why it says "Note" :-)

I think it's only fair to admonish you slightly, since the answer to your question can be found here on IT Ninja. As others will attest, I may not be so kind next time ;-)

Happy packaging! Oh and forget Wise Package Studio. It's dead and has been for a looooooooooong time. Your choices now only really boil down to 2: InstallShield/AdminStudio or InfoPulse's PACE Suite. The former is pretty much an industry standard now, the latter...not so much but, speaking as a user, it's impressive apart from slow snapshotting and snapshot comparison and some strangulated English here and there in the UI.
Answered 10/26/2017 by: VBScab
Red Belt

  • Thank you!!!
  • Hi Ian, you forgot RayPack (as I no longer work there I think this is a legal plug ;-) )
0
Get InstEdit as a direct replacement for Orca. The singlemost important benefit that it brings you, particularly newcomers to Windows Installer - is that it prompts you if an edit you make affects other tables and will update those tables if you ask it to. Orca doesn't do that and can get you into a Hell of a mess.

It's not best practice to edit an MSI directly. Instead use InstEdit/Orca to create a transform.

Now...on to you actual problem...

Are you saying that, left alone, the advertised shortcut doesn't work? I'd be very surprised if it didn't.
Answered 10/26/2017 by: VBScab
Red Belt

0
Thank you for all your help! I was finally able to do it!
Answered 10/27/2017 by: kike140509
White Belt

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ