Uncategorized

Setting permissions with your msi

SanderZ, 30 januari 2012

In the good old days it was quite normal to use an external VBScript which ran xacls.exe or something similar, to set permissions on files and registry keys that were included in your msi-file. Setting these permissions using the ‘LockPermissions‘ table was not recommended.

One of the problems facing when you used the LockPermissions table, was that permissions on already existing local files were simply overwritten and were not added/merged with the already existing permissions on these files. Another limitation was that it didn’t natively localized user groups based on well-known SIDs. When you e.g. were setting permissions on the ‘Users’ group and ran the msi on a Russian Win7 system the msi would fail to install, because it didn’t know of a usergroup called ‘Users’. In Russian the group is called ‘Пользователи’. You would receive error message 1609 An error occurred while applying security settings. Users is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry. There was a way to solve this with a special mergemodule called SIDLookup, but not everyone knew of its existence.

Since Windows Installer 5.0 (included in Windows 7 by default) there is a brand-new table called ‘MsiLockPermissionsEx‘ which can be used to set permissions on files, registry, folders, and services that are installed with your msi-package. You can find the TechNet page explaining all this here:

http://msdn.microsoft.com/en-us/library/windows/desktop/dd408009%28v=vs.85%29.aspx

Lees meer (0 reacties)

Microsoft launched a new free Windows gadget, the TechNet Forum Assistant. For details and download, see below.

TechNet Forum Assistant
The TechNet Forum Assistant is a free Windows gadget, available in the Microsoft Download Centre. This gadget will help you better utilize the great information in TechNet Forums and community. By downloading, you have the support and expertise of Microsoft TechNet Forum Support Engineers directly right on your desktop. Receive support on your terms by downloading the TechNet Forum Assistant.

Ask Questions
The TechNet Forum Assistant enables you to ask questions directly to our dedicated TechNet Forum Support Engineers. With a click of your mouse, you can choose your favourite thread among the numerous topics available in the TechNet Forums.

 Hot Topics & Resources
The TechNet Forum Assistant instantly directs you to the hottest questions and discussions, professional technique recommendations for development and free sample code from the All-In-One Code Framework. Searching through your forum threads has never been easier. With TechNet Forum Assistant you can search through your threads directly from your desktop.

Receive Personalized Updates
The TechNet Forum Assistant conveniently gathers forum threads which are of interest to you. By selecting your favourite forums, the Forum Assistant provides updates on the most recent threads, making your online support experience much more convenient and hassle free.

Download:
http://www.microsoft.com/download/en/details.aspx?id=27747

Originally posted here:
http://microsoftplatform.blogspot.com/2011/11/announcing-new-technet-forum-assistant.html

Today was finally the event I was looking forward to for months: the 1st European App-V user group meeting. After 4 German User group events (Cologne, Munich, Hamburg, and last month in Berlin) it was now time for the European edition organized by the App-V user group. These meetings are by the community for the community. The German events were in German language and at this event – as it was for the European community – all the sessions were in English language.

Only 2 weeks after registration for this event had opened, the organization had to tell people that it was no longer possible to register, because there was no more space. But next year there will be another event – in Amsterdam again (at the Sheraton Hotel which offers space for over 350 people). Today there were about 120 people at the event.

Not only for the sessions itself it was useful to attend the event, but also for networking and meet other people that are obsessed in some way by App-V.

To give you some idea of the high quality of the event: there should have been 9 App-V MVP’s – unfortunately 2 had to cancel their visit at the last moment – but that still is quite extraordinary, as there are only 16 App-V MVP’s worldwide!

Not only people from Holland visited the event, but also people from countries like Belgium, Germany, UK, Ukraine, Norway, Sweden, and many more countries. Lees meer (0 reacties)

  • Categories

  • Tags

  • Blog Authors

    Amy
    anita
    Anneke
    Danny Burlage
    Dennis Vendel
    Freek Berson
    Gerard
    Iris
    Jasper Oosterveld
    Jean-Claude Chan
    Jorn
    Lab Chicks
    Luc Joziasse
    Maarten van Noort
    Maarten Wijsman
    Marlon
    Martijn Bellaard
    Natasja van Doorn
    Paul Pascha
    Peter Heuvelman
    Rick Slager
    Robert van Son
    Roeland Jimenez
    SanderZ
    Sjoerd Schudde
    Stefan van der Wiele
    Tim Heuperman
    Wortell
  • Archief