Im fairly new at the msi creation. Ive made a couple programs.
Im trying to make a MSI for Nortons Tunnel Guard
My problem is The install works fine, but it wont uninstall
the uninstall process doesnt shut down the tunnelguardservice or terminate the tgiconnapp.exe process. Thus it leaves behind bunch of the files that were in use (and shows the service still running until you reboot)
Ive tried to add a line in the Uninstall product:
"control service tunnelguardservice: stop and delete on uninstall"
"terminate program tgiconapp.exe"
but didnt seem to do anything when i tried to uninstall it. and it hangs for a while which im guessing is trying to remove it, but cant since its in use
the only thing in the "unistall product" lines are comments and a line that says "Apply Uninstall" ~where exactly is this, and can i modify it to terminate and remove the service and executable
As a side note.. it would be nice for the install procedure to start the service as well, instead of having to reboot
Many thanks..
Help a newbie
If you used a wizard to create the install you will have an "Perform Uninstall" region in the MSICode but if you used a blank install I am not sure it will have created it automatically and you will need to create the section your self.
Also make sure the "control service tunnelguardservice: stop and delete on uninstall" appears before apply uninstall
I have noticed sometimes it gets put in the wrong place but never been sure if it's a fault in IA or me messing it up
Also make sure the "control service tunnelguardservice: stop and delete on uninstall" appears before apply uninstall
I have noticed sometimes it gets put in the wrong place but never been sure if it's a fault in IA or me messing it up

more info
MLS wrote:If you used a wizard to create the install you will have an "Perform Uninstall" region in the MSICode but if you used a blank install I am not sure it will have created it automatically and you will need to create the section your self.
Also make sure the "control service tunnelguardservice: stop and delete on uninstall" appears before apply uninstall
I have noticed sometimes it gets put in the wrong place but never been sure if it's a fault in IA or me messing it up
**Thank you for replying. I used the capture program. The reason being, is the msi provided by Norton forces you to select Java version to utilize. I want silent install that has the settings for our java version we use here. The project does have a uninstall region, but its empty. Im not sure why the capture program doesnt capture how the msi starts and shuts down the service on install. I do have that before the uninstall procedure is called. The script "terminate program" doesnt seem to kill the .exe interface either.. it only asks for a name, which i gather is whats listed in task manager. Ive been messing with it for 2 weeks now. I was wondering, if i removed the registry entries for the service entry, and used the install service script instead, as ive tried to use the install service script which only tries to install the service twice. Thats what im trying to accomplish now. Any advice is appreciated
Who is online
Users browsing this forum: Baidu [Spider] and 92 guests