During the installation if I include Start Menu Programs folder I get the following error:
Code: Select all
The installer has insufficient privileges to access this directory: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\<Product_folder>. The installation cannot continue. Log on as administrator or contact your system administrator.Should I be updating a different property? Is this intended behaviour for a per-user installation?
EDIT: I removed my Init Event and kept the label and the path is correctly updated based on the installation type by the installer. I'm not sure why it's trying to update the shortcuts for the machine instead of the user when I use that dialog. If I move that dialog out of the sequence, it installs the shortcuts correctly.
EDIT 2: I removed the StartMenuShortcutsDlg and was again able to install correctly. It seems that this dialog is in fact the culprit.
Thank you,
- Adam
FOLLOW US
Get the latest news in Application Packaging