Using Shims with App-V 5

Related Posts
5 Comments

Sorry but this doesn’t work. I tried every possible way of getting this to work for all users. I tried adding the sdb file to the scripts in the appv package. I tried publishing from the client which I don’t normally do. I tried publishing from the AppV Publishing server in the console, and even added it to the publishpackage event section of the deployment.xml.

Nothing works. This simply doesn’t work. You know the only thing that does work?  This is pretty f’n kludgy but luckily this is a provisioning server image so I only have to do it to one computer. I have to publish it to the users that need the app, log in as one of those users, right click the application icon, go to the root folder where it’s installed via app-v, then copy that path, go to the command prompt, then type

sdbinst c:\long\ass\path\name\35309520942094\executablename.exe

Then it sets compatibility for the pvs image for anyone who gets that app over app-v.

 

This is really sad. I’m sorry but Microsoft needs to add this crap to the sequencer app and make this work without all this ridiculous nonsense that doesn’t work.

Hi Nathan.  This approach is tried and tested.  Did you definately enable scripting on the client machine?  Have you ensured the <MachineScripts> tag isn’t still commented out, as it is by default with the supplied template?  How did it error?  Thanks.

Hi Kae,

I followed the exact steps you mentioned above, but does not work for App-V Package.

I am using a PowerShell, and confirmed that scripting is enabled, and it does install the Shim on Machine, but upon executing the program it still prompts for UAC.

Any other suggestions?

 

Thanks in advance.

Hi Rajiv. Sorry for the delay. I guess firstly, does your app work natively in XP SP3 compat mode (just to ensure you’ve created the right type of shim)? And also, ensure your shim points to the correct location for the executable (easiest way is to create your shim on the target platform, to avoid missing ‘(x86)’ and ‘SysWow64’ entries on x64 platforms). Did you ever sort this issue out in the time it’s taken me to reply? 🙂

Also, Rajiv, remember my shim is to run in XPSP3 compat mode. Not to avoid UAC prompts. You may need to create a RunAsInvoker/ForceAdminAccess shim instead. See here for a nice example: http://spablog.ontrex.ch/2013/04/23/shims-and-app-v-5-0/

Leave a Reply
Send us a message

Send your message any time you want.

Our usual reply time: 2 Business Hours
Send us a message

Have a question? Send us a message.

Our usual reply time: 2 Business Hours