cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DLee65
Level 13

Basic MSI: ALLUSERS property deleted in Modify mode - VISTA ONLY

I have a task that should be fairly easy. Basically I am asked to provide an option to install a desktop shortcut during install and maintenance. During first install the dekstop shortcut appears correctly with the appropriate icon. During maintenance mode everything goes to chaos!

So far this is what I found:
1. When running modify mode setup is deleting the ALLUSERS property.
2. When starting Modify mode the original value of ALLUSERS is correct - 1.
3. This occurs while setup is trying to extract support files such as setup.inx to execute a custom action.
4. My custom action does not touch ALLUSERS at all.
5. I reproduced this in another setup. No matter what InstallScript custom action is executed the ALLUSERS value gets deleted. However, on XP, XP64 testing the value is not deleted.

Why is this value being deleted on Vista only, and only when a custom action is executing. Deleting this value is breaking modify mode on Vista for me.
Labels (1)
0 Kudos
(1) Reply
DLee65
Level 13

0 Kudos