Suppress UAC PROMPT deploying TrueCrypt
Hi,
I have repackaged TrueCrypt 7.1a. My msi works correctly without any issues. However when i launch the the shortcut, UAC pops up and i am not able to suppress it irrespective of any shim i use. I have used run as admin, invoker, force admin....
Has anyone faced this issue?
-
i have the service up and running. before launchin i restart my machine but pop still shows up. - shekara 11 years ago
-
and do you have the registry keys in HLKM\Microsoft\Windows\CurrentVersion\Uninstall\truecrypt in your msi? - Nicole 11 years ago
Answers (2)
Hi
I'm having the same problem....
It seems to be important that the uninstall-registrykey is there, if not, Truecrypt thinks it's running in portable mode (HLKM\Microsoft\Windows\CurrentVersion\Uninstall\truecrypt). I have that key in my msi, but still this UAC pops up.
However, there is a kernel-service being installed. If this one is not running, the UAC shows up. I'm creating the service with a CustomAction, "sc.exe create truecrypt binPath= System32\drivers\truecrypt.sys type= kernel start= system error= normal tag= no DisplayName= truecrypt".
....now I wanted to tell you from the problems I had to start the service, but now it seems to work :)
So probably you just net to create and start this service. Delete any service related registry keys in your msi (HKLM\Microsoft\Windows\CurrentVersion\services\truecrypt).
Let me know if it works like this.