Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
This is probably answered somewhere already, but I was unable to locate what I needed. I want to have my application start when booted, and I do this by putting a registry value in the Software-Microsoft-Windows-CurrentVersion-Run. Right now, I always put this value under HKEY_LOCAL_MACHINE but I want it to go there only if the user selected to install my application for everyone. If they selected to install only for the current user, then I want this key to be added in the HKEY_CURRENT_USER. How can I base this on the users selection?
Posted

Need Variable Name?

 

I've just learned how to create extra screens during the setup process, more specifically I have an example of creating a Checkboxes (A) dialog. In the properties, I can set the Property of each Checkbox and use that as a reference for a condition when doing other things. So, does the For Everyone/Me installation option have a Property that I can reference when creating a condition for creating a registry key?

Posted
That might help, but I'm sure there is a simple way to do this without having to hack my .msi file. Basically, I just need to know how to access the choice made by the user whether to install my program for all users or 'just me'.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...