I am writing an application in VC++(unmanaged) which is going to run in xp and above PC's. I need to add an functionality which will allow the user to see the directories being suggested as the user types the path in a stext box. This is similar to the behaviour of the run dialog in vista/7.
Thanks in advance,
John.
SHAutoComplete
Related
I am making a batch file to password protect a hidden folder.
How can I make it so the user cant view the preview window at the side, since the preview window allows them to see the password that is set in the .bat file.
To make the code of your batch file both hidden and un-editable, the best option is to convert it to an exe. I would recommend you use this bat-to-exe converter.
Also FYI, making a folder hidden is a rather ineffective protection step that only works against layman tech users. Perhaps encrypting the folder may be a better solution for you.
I am trying to figure out how to set the Program Name field in the UAC dialog box. We have an existing Signing.proj XML file that I think needs to be modified in order to make this change. I have searched extensively but have not found a good resource. Can someone please point me in the right direction?
Thanks in advance!
I encountered the situation for the exact executable name to be used in the UAC dialog when I specified a description for the file being signed, however I don't see a command line switch for specifying a description with Signcode.exe.
I install an app .app file to /Applications folder.
Can you please tell me where does the user specified data being stored? How can I do to clean uninstall my application and its user specific data?
Thank you.
This depends on the application, unfortunately. Sometimes it is in ~/Library/ folder, though.
AppTrap should do the trick.
It runs in the background and simply has a preference pane in the System Preferences. Drop the application onto the trash folder and it will ask you whether you want the associated application files to be deleted too.
Just let the user do that. For instance with AppCleaner.
Otherwise, just give a way in your preferences to reset them. No need to delete the plist file.
AppDelete is a free program for uninstalling and cleaning up.
FSEventer is a free program for seeing where programs install themselves.
Most information is stored within /Library/, however from time to time you may find applications which store their data within the contents of the .app package itself, or within a subfolder in /Applications/.
This should give you an idea of where to look.
Where to Put Application Files
As in the question I want to let user decide if he/she wants desktop shortcut of my application or not using NSIS. I was trying to do it using custom pages, but no luck.
Maybe someone did it before and will be willing to share the script?
Thanks in advance :)
The easy way is to just use a section and the component page takes care of it
If you go for the custom page option (overkill IMHO), you could store the result in a global variable or just toggle the (hidden) section directly with the helper macros in section.nsh
Note: I'm pretty sure the MS guidelines tells you not to create a desktop shortcut
I need my application installer set the program to auto-startup for all users.
Then each individual user should be able to modify this option without affecting others.
Currently I write to HKLM/../Run with installer, which acomplishes the first task.
But then I can't disable autorun for current user, because deleting th HKLM/../Run entry would disable it for everybody.
Is there a way to do that, without using shortcuts in Autostart folder?
start it for all users always but check a configuration variable in HKLU to see if it should exit immediately
Any reason not to use the HKCU Run key in the first place?
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]