Hi everybody

I'm new with installshield 11.5 windows and i try with a basic msi project to make when i remove the program to create a key in the registry !

if someone say how i can do that thanks you for all !


Thanks for all suggest
Christophe
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi Christophe,
pretty tough task for beginning with. :-)
Looks like, you have to use a Custom Action for this to work.
You could use reg.exe to do it. Or an VBS script.
Regards, Nick
Answered 03/08/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Hi super member :-),

all right all right easy for a beginner all right all right !

i try to do that this afternoon or monday and i post the solution or my problem ;-) !

In adavance thanks for all
Christophe
Answered 03/09/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
2
You can create CustomAction with VBS: Behavior and logic -> Custom Actions -> Right click on Custom Actions -> New VBScript, Stored in custom Action table:

Set WSHShellObj = CreateObject("WScript.Shell")
WSHShellObj.RegWrite "HKLM\Software\<company>\<RegKey>, "Your_value", "REG_SZ"


HKLM ... HKEY Local Machine (HKCU ...HKEY CurrentUser, ...)
REG_SZ ... a string type

Be sure to add a condition to the CustomAction to run this action just at uninstall time

REMOVE = "ALL"


If you create special file with VBS functions than instead of "Stored in custom Action table" select "Stored in binary table".



Best regards
Andreo
Answered 03/12/2007 by: jamsek19
Orange Senior Belt

Please log in to comment
0
Hi Andreo,

thanks for your post !

i've doing what you writed !

but i wonder at wich install exec sequence i must to enter for to execute this custom action because if i want to enter remove = "all" i must to select a install exec sequence !!!

wich install exec sequence i must to choice !?

i want that this custom action is execute when the product is removed on the computer !
Thanks for all
Christophe
Answered 03/13/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
2
Hi Christophe,
put it on 'InstallExecuteSequence', just before the 'InstallFinalize' sequence. That makes it a deferred action.
Regards, Nick
Answered 03/13/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Hi guys who help me :-)

thats works thats works perfectly !

thats perhpas stupid but i m happy because before to ask my question here i've search about some hours in google without a response !

Have a nice week for all
Thanks
Christophe
Answered 03/14/2007 by: christopheOce
Senior Yellow Belt

Please log in to comment
2
If they helped you, don't forget to rate their posts!
Answered 03/14/2007 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity