Help a newbie

Got a problem you cannot solve? Try here.
knudsan
Posts: 2
Joined: Wed Aug 01, 2007 3:24 pm
Contact:

Help a newbie

Postby knudsan » Wed Aug 01, 2007 3:52 pm

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..

MLS
Posts: 56
Joined: Fri Jan 26, 2007 4:57 am

Postby MLS » Thu Aug 02, 2007 3:29 am

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 :)

knudsan
Posts: 2
Joined: Wed Aug 01, 2007 3:24 pm
Contact:

more info

Postby knudsan » Thu Aug 02, 2007 9:51 am

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

MLS
Posts: 56
Joined: Fri Jan 26, 2007 4:57 am

Postby MLS » Thu Aug 02, 2007 10:44 am

if the region is there try adding Apply Uninstall command in the If REMOVE part that should then peform the uninstall


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 121 guests