Jump to content

Recommended Posts

  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 4 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
Posted (edited)

Thanks for the update,since v 4.4 I can't uninstall it I got this error "Error:could not locate INF file 'SpyBlast.inf'",I use this add-on as RunOnce converted with Winrar.

Thanks !

Edited by ionut_y
Posted

Call the DefaultInstall section, or use this in WinRAR sfx (it also calls the defaultinstall secion)

Setup=spyblast.inf

You can also manually copy spyblast.inf to the %windir%\inf\ folder

What syntax are you currently using to install?

Posted (edited)

I've tried to copy the inf file manually and it works,can you fix the inf install file ?

edit:if I use TempPath not Path=%ProgramFiles%\spywareblaster no file is installed in that location,in addremove program there is a entry for uninstall but it give errors

Thanks

Edited by ionut_y
Posted

There is nothing wrong with the install file, I already instruct it to copy the INF and Runtimes during manual install...the problem is the way winrar calls the defaultinstall section is it does not support the advanvpack method of copyfiles I am using

; This section is used during manual install

[DefaultInstall]

CopyFiles =SpyBlaster.Files,Runtime.Files,@SpyBlast.inf

...

; This section is used during windows setup

[spywareBlaster]

...

CopyFiles =SpyBlaster.Files ; Some files are copied during textmode setup so no need for them here

...

[DestinationDirs]

...

DefaultDestDir =17 ; This is the default destination dir (INF folder) where all files with the @ symbol will be copied to

I appears that winrar uses setupapi.dll instead of advpack.dll, so try this command

Setup="rundll32.exe advpack.dll,LaunchINFSection SpyBlast.inf"

I think the reason if you use a temp dir it does not work is somewhere the inf is failing, probably does not recognize/support @SpyBlast.inf in copyfiles

Posted (edited)

thanks ricktendo64

I saw the content of inf file,it's ok,no chance with:

Setup="rundll32.exe advpack.dll,LaunchINFSection SpyBlast.inf"

I'll create a NSIS script for that.

thanks

edit:

This is my solving NSIS script:


Section ""
SetOutPath "$programfiles\Spywareblaster"
file "spywarebl.exe"
ExecWait "$programfiles\Spywareblaster\spywarebl.exe"
IfFileExists "$programfiles\Spywareblaster\spyblast.inf" 0 +2
CopyFiles "$programfiles\Spywareblaster\spyblast.inf" "$WINDIR\inf"
delete "spywarebl.exe"
SectionEnd

Edited by ionut_y
  • 2 weeks later...
Posted

If you integrate the addon like it is originally intended you will have no problems, if you change it or try to install it differently there are no guarantees

Updated

Posted

WOW... you're an ACE Rick THANKS!!!

If you integrate the addon like it is originally intended you will have no problems, if you change it or try to install it differently there are no guarantees

Updated

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...