Jump to content

[AddOn] SpywareBlaster 5.0 (10/10/2013)


ricktendo

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

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...

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