error in exit action

This forum has been archived and is no longer active.

The new forum is located at:

https://sourceforge.net/apps/phpbb/installjammer/

You may continue to view and search the topics in this forum, but no new posts can be created.

error in exit action

Postby kanchan » Thu Jun 09, 2011 4:10 am

I have created my Installer in the InstallJammer
While calling the uninstaller of that on click of finish it is calling Exit.In the exit it is throwing this error.

Error in action exit
error copying "C:/Users/ADMINI~1/AppData/Local/Temp/ijtmp_8C1782E3-7AD7-49A4-AF98-850563C9A6CB/uninstall.exe" to "C:/Program Files/InstallJammer Registry/Windows/installkit.exe": permission denied
while executing
"file copy -force $installkit(stubfile) $installkit(executable)"
(procedure "::installkit::wrap" line 26)
invoked from within
"::installkit::wrap -o {C:/Program Files/InstallJammer Registry/Windows/installkit.exe} -w C:/Users/ADMINI~1/AppData/Local/Temp/ijtmp_8C1782E3-7AD7-49A..."
("eval" body line 1)
invoked from within
"eval ::installkit::wrap $args"
(procedure "::InstallJammer::Wrap" line 16)
invoked from within
"::InstallJammer::Wrap -noinstall -o {C:/Program Files/InstallJammer Registry/Windows/installkit.exe} -w C:/Users/ADMINI~1/AppData/Local/Temp/ijtmp_8C1..."
("eval" body line 1)
invoked from within
"eval ::InstallJammer::Wrap $opts [list $main]"
(procedure "::InstallJammer::GetCommonInstallkit" line 17)
invoked from within
"::InstallJammer::GetCommonInstallkit $conf(uninstall)"
(procedure "::InstallJammer::CleanupTmpDir" line 83)
invoked from within
"::InstallJammer::CleanupTmpDir "
(procedure "::InstallJammer::exit" line 12)
invoked from within
"$command"
(procedure "::InstallAPI::Exit" line 20)
invoked from within
"::InstallAPI::Exit -exittype cancel"
("eval" body line 1)
invoked from within
"eval ::InstallAPI::Exit $opts"
(procedure "::InstallJammer::actions::Exit" line 7)
invoked from within
"::InstallJammer::actions::$component $this"
while executing
"$obj execute"
(procedure "::InstallJammer::ExecuteActions" line 69)
invoked from within
"::InstallJammer::ExecuteActions "Finish Actions""
(procedure "::InstallJammer::exit" line 6)
invoked from within
"::InstallJammer::exit"
(procedure "::InstallJammer::FinishEventHandler" line 7)
invoked from within
"::InstallJammer::FinishEventHandler .wizard"
(command bound to event)

can you guide me what is the problem
Environment: Windows 7 32 bit
Attachments
error.png
error.png (82.11 KiB) Viewed 3764 times
kanchan
 
Posts: 4
Joined: Wed Aug 18, 2010 6:34 am

Re: error in exit action

Postby hsehdar » Sat Jun 11, 2011 5:29 pm

Dear Kanchan,

Execute the installer in Administrator mode. If the user is not administrator and does not have permission to delete the file then such errors may be thrown.

Thank you,
With regards,
Hsehdar
hsehdar
 
Posts: 134
Joined: Sun Sep 26, 2010 7:16 am

Re: error in exit action

Postby kanchan » Sun Jun 12, 2011 11:12 pm

Hello Hsehdar,

I have tried this with administrator right also.
but the problem is same.
This problem is comming when on the click of finsh I'm caling exit action.
Sometimes dialog is not coming but in the debugconsole I'm able to see this error and on the finish click installer is not closing the installer UI.
For the moment instead of calling Exit action.I wrote TCL script to exit that is "exit 0"
and it is working well.
Is this implementatio is OK?

But I'm little confused why at the end of the installer on click of exit it is copying file from
"C:/Users/ADMINI~1/AppData/Local/Temp/ijtmp_8C1782E3-7AD7-49A4-AF98-850563C9A6CB/uninstall.exe" to "C:/Program Files/InstallJammer Registry/Windows/installkit.exe":

what will be the reason for this.
kanchan
 
Posts: 4
Joined: Wed Aug 18, 2010 6:34 am


Return to Help

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron