App-V Version 5 now respects permissions. Hooray. When dealing with legacy apps that write stuff wherever the hell they want to, keep this in mind.
Also works with setting rights on virtual services. When capturing, use subinacl. (Available here)
It works a treat. :-)
Tuesday, October 20, 2015
App-V stole my shortcuts!
Being quite new to the App-V packaging world, I ran into an issue that I figured I'd share so others can
- Laugh at how silly I am, and
- Help out others in the same predicament
I was packaging up an application using Microsoft Application Virtualization Sequencer and all was good. All the pieces from the MSI I was using were dropping into the correct place. "Happy" thought I. "I shall have this package ready for testing by luncheon today"
I install it onto a clean machine, and all is right with the world. So I publish via the publisher.
I get the advertised icons on my start menu. But do they do anything? Nooooooo. Badness.
I spend a while Google problem, try random fix, hope.
Anyways what I had not done was edited the package in the sequencer, gone into the Advanced Tab and ticked the boxes
- Allow all named objects to interact with the local system
- Allow all COM objects to interact with the local system
- Allow virtual applications full write permissions to the virtual file system
Save, Publish and Happiness.
App-V versus error 142
For the last month or so I have been working with App-V and have had a series of issues that no one on the web seems to want to talk about. First of all,
Anything else in the Package\Root directory should probably use dummy folders.
As I learn more I'll keep all 3 of you posted.
Error 0x00000142
Conventional wisdom says- Check that 8.3 naming is turned on
- Check that all DLL's are registered
- If you're using App-V version 5 then make sure you are not dragging DLL's across the net
But I have found at least one case where the above error is caused by Empty directories. Fortunately this is easy to fix by placing a dummy file in the empty directory in the bubble. Remind me to report this to the good people at Microsoft for some cool merch.
Update:
I have been randomly deleting files from the Package\Root\VFS directory since this seems to be the main culprit. Basically, if it's empty, it can go. Also, anything with the extension .msi can be deleted on principal.Anything else in the Package\Root directory should probably use dummy folders.
As I learn more I'll keep all 3 of you posted.
Sunday, December 14, 2014
Powershell
In the last two weeks I have had to learn powershell and was handed a big old project to do in that. So this will act as my heading block for all I learn.
Direct access to the. Net libraries is a good thing. Four versions of the language... Bad thing. More to come.
Friday, September 10, 2010
The point of riding in the rain.
Last night I took the ZZR out for a quick ride to Ashley's house. Yay. All good. Spent some time there and then had to leave. It's raining. Bother. It was then that I learned the whole point of riding in the rain on a motorcycle is to make the rider look like he has wet his pants. All the water that hit my chest ran straight down my jacket and into my crotch. I could feel it pooling there. A sensation like no other I can assure you.
Made it home in one piece which was good. But I can see why riding in the rain is not considered a good motoring experience.
Made it home in one piece which was good. But I can see why riding in the rain is not considered a good motoring experience.
Thursday, September 9, 2010
Keeping yourself nice on Facebook.
So you've been hooked onto the social media thingy. Now all you need to do is to learn how to use it properly. This can be a problem because not only do you need to work out what button does what, but you also need to work out how to use the format in a socially acceptable way.
Think to the way you use a telephone. It rings. You pick up. If you know the caller from caller ID, you acknowledge the caller by stating their name and inquiring after their health. If not the conversation runs as below.
"Hello, John Matthews speaking."
"Hello John, this is Fred Nerk calling."
"Ah Fred. Good to hear from you. How are you?"
A few social pleasantries are exchanged and then the purpose of the call is raised.
The above example is the protocol for telephone conversation. Each party introducing themselves and discussing some light conversation before getting into the meat of the conversation.
Facebook users are still working out the rules. Here are some that need stating.
Rule 1.
Keep your Game Achievements sparse.
You are most welcome to play any of the many facebook games you like, but please keep the number of updates you share with your friends to a minimum. Game makers want you to share your progress lots, so will pop up any number of dialog boxes to encourage you to tell your friends how well you are doing on SuperMafiaNinjaTreasureFarmVille. This is so the game maker can get your friends to play the game and therefore generate more income for themselves through advertising banners on the page and the purchase of special items. Resist the temptation to publish every little achievement as this turns your news sheet into a running log of "Bob levelLed up AGAIN." "Bob earned his 87th chicken" "Bob found an attractive stone with a hole through it" "Bob has lost his life outside this sad game and can only post about playing flash games".
A few posts from the game are acceptable, My rule is no more than three updates concerning games in any 24 hour period. If the game gives you a chance to comment on the achievement, please do, as it adds to the social nature of the communication, making it more like small talk and less like spam from game makers.
Rule 2.
Major news should never be announced via facebook to close family.
An issue came up recently when a friend of mine found out he was to become an uncle via Facebook. This is bad form. Just because it is an easier way to communicate does not make it the best way to communicate the message.
As a rule of thumb, I would call all people who need telephone calls about the topic. Hang the expense. It's important news. To people who don't rate a phone call, try an SMS or MMS. It's a little more personal. Then afterwards, compose a Facebook message for all your distant friends to rejoice at.
Rule 3.
Death needs 24 hours before it is posted to Facebook.
Death has always had a list of taboos surrounding it in all cultures. Ours is no exception. Give people time to find out via the family before plastering it on Facebook. This allows the shock to wear off a bit before the person can grieve publicly. Otherwise some poor family member discovers that their relative is dead and may find their shock turning to anger because of the way they found out. It is better that family members have this space to grieve privately before doing it publicly.
Rule 4.
Do not use a logged on Facebook account as an opportunity to be funny.
If you find a computer with the browser open to someone else's Facebook account, quietly log out the other user and inform them that they left themselves logged in. Do not deface their news reel with statements about their sexuality, football team or other funny thing. I have yet to see a comment along these lines that has made me LOL, let alone LMAO or even do a coffee spit. It is sad and petty. You are bigger than that. Act so.
And I'm out of rules for the time being. So shall ask people for more now. Feel free to comment below or email me with more.
Think to the way you use a telephone. It rings. You pick up. If you know the caller from caller ID, you acknowledge the caller by stating their name and inquiring after their health. If not the conversation runs as below.
"Hello, John Matthews speaking."
"Hello John, this is Fred Nerk calling."
"Ah Fred. Good to hear from you. How are you?"
A few social pleasantries are exchanged and then the purpose of the call is raised.
The above example is the protocol for telephone conversation. Each party introducing themselves and discussing some light conversation before getting into the meat of the conversation.
Facebook users are still working out the rules. Here are some that need stating.
Rule 1.
Keep your Game Achievements sparse.
You are most welcome to play any of the many facebook games you like, but please keep the number of updates you share with your friends to a minimum. Game makers want you to share your progress lots, so will pop up any number of dialog boxes to encourage you to tell your friends how well you are doing on SuperMafiaNinjaTreasureFarmVille. This is so the game maker can get your friends to play the game and therefore generate more income for themselves through advertising banners on the page and the purchase of special items. Resist the temptation to publish every little achievement as this turns your news sheet into a running log of "Bob levelLed up AGAIN." "Bob earned his 87th chicken" "Bob found an attractive stone with a hole through it" "Bob has lost his life outside this sad game and can only post about playing flash games".
A few posts from the game are acceptable, My rule is no more than three updates concerning games in any 24 hour period. If the game gives you a chance to comment on the achievement, please do, as it adds to the social nature of the communication, making it more like small talk and less like spam from game makers.
Rule 2.
Major news should never be announced via facebook to close family.
An issue came up recently when a friend of mine found out he was to become an uncle via Facebook. This is bad form. Just because it is an easier way to communicate does not make it the best way to communicate the message.
As a rule of thumb, I would call all people who need telephone calls about the topic. Hang the expense. It's important news. To people who don't rate a phone call, try an SMS or MMS. It's a little more personal. Then afterwards, compose a Facebook message for all your distant friends to rejoice at.
Rule 3.
Death needs 24 hours before it is posted to Facebook.
Death has always had a list of taboos surrounding it in all cultures. Ours is no exception. Give people time to find out via the family before plastering it on Facebook. This allows the shock to wear off a bit before the person can grieve publicly. Otherwise some poor family member discovers that their relative is dead and may find their shock turning to anger because of the way they found out. It is better that family members have this space to grieve privately before doing it publicly.
Rule 4.
Do not use a logged on Facebook account as an opportunity to be funny.
If you find a computer with the browser open to someone else's Facebook account, quietly log out the other user and inform them that they left themselves logged in. Do not deface their news reel with statements about their sexuality, football team or other funny thing. I have yet to see a comment along these lines that has made me LOL, let alone LMAO or even do a coffee spit. It is sad and petty. You are bigger than that. Act so.
And I'm out of rules for the time being. So shall ask people for more now. Feel free to comment below or email me with more.
Wednesday, November 11, 2009
The joy of .nets
Too long since last post... So here is another one. The job has changed and I find myself a .net developer.
Task one was to take a whole bunch of .vbs files and turn them into neat executables. The easy way would have been to add the wscript dll and go from there. This was what I did first up. But I soon went native because of a little thing called System.IO. All of a sudden file level operations do not need to be wrapped in an On error resume next and then checking if the file you just copied actually exists.
Task one was to take a whole bunch of .vbs files and turn them into neat executables. The easy way would have been to add the wscript dll and go from there. This was what I did first up. But I soon went native because of a little thing called System.IO. All of a sudden file level operations do not need to be wrapped in an On error resume next and then checking if the file you just copied actually exists.
Subscribe to:
Posts (Atom)