How do I change registry value in InstallShield at runtime?
conditions ,while uninstalling time value or registry cannot be remove
how to fix this issue in installsheild
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
jagadeish
11 years ago
Do you mean, a particular registry entry is not getting removed during unstallation???
Comments:
-
hi jagadeish,
i want to update the GDIProcessHandleQuota in the registry while installing software.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota
Set hexadecimal value 61A8 or Decimal value 25000
and when we are uninstalling the software the registry value will not to be change(remove)
Please help me........
Thanks,
M.Perumal. - perumaldass 11 years ago -
Did you try terminating your application process first and then initiate uninstallation.. - jagadeish 11 years ago
-
i'm not getting clearly how to do it...can you give some tips - perumaldass 11 years ago
-
Open Cmd prompt.. Type the following command and press enter..
Taskkill /F /IM "RunningExeFileFromYourApplication.exe" /T
Then start uninstallation.. - jagadeish 11 years ago -
i'm asking about devstudio installsheild .i'm using installsheild to build the software as a package.
while installing software registry entry will be stored.then when we are uninstalling the software it will be remove..now what i am asking when i'm installing the software i'm overwriting the standard windows registry so it should not remove.... if it is removed os will not work...
what to do this is my issue...? contact No : 9791970484 - perumaldass 11 years ago -
If you are able to modify that registry value during installation of your package.. then you should be able to do the same during uninstallation as well.. the reason for asking you to terminate your application related process is, to unlock the registry key.. your application may be using that registry key when you run uninstallation command..
First check it manually.. terminate your application releated processes and then start uninstallation..
Yes.. you can do it through InstallShield when you are sure that it is working manually..
Why don't you write a custom action to update that particular registry key using VBScript during installation and uninstallation instead of keep it directly in registry.. - jagadeish 11 years ago -
we facing memory leak issue in our application (software). so we need to add the registry value
( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows\GDIProcessHandleQuota
Set hexadecimal value 61A8 or Decimal value 25000 ).
now i can't add it . so i have done in C# i can add the value and it will not remove this is as a separate exe. now i'm trying to solve the issue in installsheild scrpit.... - perumaldass 11 years ago -
Memory Leak issue?? Are you testing this application on Virtual Machine with low memory? If so, I would suggest you to test it on a physical machine (as it will be in production) - jagadeish 11 years ago