Software Deployment - Disabling MsiEmbeddedUI for service because it's not a quiet/basic install
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
0 Comments
[ + ] Show comments
Answers (6)
Answer Summary:
Please log in to answer
Posted by:
anonymous_9363
7 years ago
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.
Comments:
-
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. - kike140509 7 years ago
Posted by:
anonymous_9363
7 years ago
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]"
Comments:
-
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 - kike140509 7 years ago
Posted by:
anonymous_9363
7 years ago
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.
Comments:
-
Thank you!!! - kike140509 7 years ago
-
Hi Ian, you forgot RayPack (as I no longer work there I think this is a legal plug ;-) ) - Pressanykey 7 years ago
Posted by:
anonymous_9363
7 years ago
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.
Posted by:
anonymous_9363
7 years ago
Top Answer
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.
Comments:
-
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 - kike140509 7 years ago