Jump to content
Alpha_95

[Solved] Inf problem

Recommended Posts

Hello all,

edit :

The installation goes well but the uninstallation problem...

My inf :

http://pastebin.com/m5496a81

The icon in the Quick Launch toolbar is not removed and files (README and website) located in %ALLUSERSPROFILE%\Start Menu\Programs\My_Prog\, is not deleted.

Yet the file was in C:\Program Files has been deleted

thanks for help

Sorry if my English is bad, I'm french.

Edited by Alpha_95

Share this post


Link to post
Share on other sites

when you remove, should not the WorkingDir=xxxxxxx

[QuickLaunch.delAddShorcut]

Name =SIW,0x0000000A,26

Subdir =%SIW_SUPP_DIR%

WorkingDir=16422,SIW >> should not

Edited by OnePiece

Share this post


Link to post
Share on other sites
when you remove, should not the WorkingDir=xxxxxxx

okay also :

[QuickLaunch.AddShorcut]

Name =SIW,0x00000008,26

CmdLine =16422,SIW,SIW.exe

Subdir =%SIW_SUPP_DIR%

InfoTip =SIW Ultimate

Edited by Alpha_95

Share this post


Link to post
Share on other sites
[sIW.Uninstall]

BeginPrompt =BeginUnInsPrompt

EndPrompt =EndUnInsPrompt ?????????????????

RunPreSetupCommands=CloseProgram:1

UnRegisterDLLs =ShellExtensionU.UnRegister

DelFiles =SIW.Files,INF

DelDirs =DelDirsSection

DelReg =SIW.delReg

ProfileItems =Desktop.delAddShorcut,SIW.delAddBookmark,eula.delAddShorcut,QuickLaunch.delAddS

horcut

UpdateInis =sysoc.clean

Cleanup =1

[sIW.Uninstall]

BeginPrompt =BeginUnInsPrompt

RunPreSetupCommands=CloseProgram:1

UnRegisterDLLs =ShellExtensionU.UnRegister

DelFiles =SIW.Files,INF

DelDirs =DelDirsSection

DelReg =SIW.delReg

ProfileItems =Desktop.delAddShorcut,SIW.delAddBookmark,eula.delAddShorcut,QuickLaunch.delAddS

horcut

UpdateInis =sysoc.clean

Cleanup =1

EndPrompt =EndUnInsPrompt

Edited by OnePiece

Share this post


Link to post
Share on other sites

try putting it in the end

EDIT

all delAddShorcut have problems, everyone will have to be this way

[QuickLaunch.delAddShorcut]

Name =SIW,0x0000000A,26

Subdir =%SIW_SUPP_DIR%

[Desktop.delAddShorcut]

Name =SIW,8,23

SubDir =SIW

CmdLine =16422,SIW,SIW.exe

WorkingDir=16422,SIW

InfoTip =SIW Ultimate

Edited by OnePiece

Share this post


Link to post
Share on other sites
all delAddShorcut have problems

where ?

I don't understand...

I have no problem with Desktop.AddShorcut but only with QuickLaunch.delAddShorcut

Share this post


Link to post
Share on other sites
where ?

I don't understand...

I have no problem with Desktop.AddShorcut but only with QuickLaunch.delAddShorcut

sorry, my fault or where the copy Riggi, and Desktop.delAddShorcut not Desktop.AddShorcut

46812892.png

[Desktop.delAddShorcut]

Name =SIW,8,23

SubDir =SIW

CmdLine =16422,SIW,SIW.exe

WorkingDir=16422,SIW

InfoTip =SIW Ultimate

Edited by OnePiece

Share this post


Link to post
Share on other sites

Excuse me but I do not understand your sentence ...

ProfileItems = Desktop.AddShorcut and ProfileItems = Desktop.delAddShorcut does not work if you try to understand?

Share this post


Link to post
Share on other sites

in your file. inf and this critical error that blocked all normal and that everything else after it does not delete them properly removed,

first repair the error as already mentioned above

after and see if everything ok.

I feel better than I can explain it here http://www.wincert.net/forum/index.php?sho...ost&p=47237, I'm sorry, maybe some else can explain better, I do not know....

Ciao.

Edited by OnePiece

Share this post


Link to post
Share on other sites
It remains for me that the problem of deleting quick launch, the rest is solved.

My new file. Inf

http://pastebin.com/m71d61ef0

SIW.inf and the file is not deleted from C:\Windows\Inf

Instead of "INF" Value in the DelFiles Directive put "@SIW.inf" value.

I have a question ...Why use an [uninstall] section if U use the original "Uninstaller" (unins000.exe).

Perhaps All things don't remove correctly, means that's you're not in the right way...

PS : if you want more information in French, do not be shy :rolleyes:

Share this post


Link to post
Share on other sites

my uninstall does not work properly so it is discussed at this time, I constantly change the file: p

For delFiles, neither work on. Inf file is not deleted, I'm not shy: p

Share this post


Link to post
Share on other sites

thanks Onepiece, fortunately I do not redirect the English to their own forum when they ask me for help in my forum ...

@Kelsenellenelvian

Thank you but I understand where my mistakes so if you could explain what you were correct ... or if Wallace time to explain? :)

SIW.txt

Edited by Alpha_95

Share this post


Link to post
Share on other sites

Alpha_67,

OnePiece is right I'll explain which lines aren't necessary in your inf file. Go here and open a topic (if U want) and I can explain you more details in French :

http://www.wincert.net/forum/index.php?showforum=154

--->For example in your [uninstall] Section this line is not necessary :

UnRegisterDLLs	 =ShellExtensionU.UnRegister

because the value isn't any refered in your INF file. That's why the Uninstall Process abort.

--->Moreover In your [sourceDisksNames.X86] Only one line is necessary for your Addon :

you can delete this :

2="INF File","WIN51",,i386

----->In your [CloseProgram] section delete this command because "Ricks" said in his TUTO that it's for XP Home compatibility use and tskill fails if you add the file extention (bad example: tskill program.exe)

TASKKILL /F /IM SIW.exe

I can explain you how to make a custom uninstall section without your original uninstall File (Uninst000.exe) Finally you'll can delete many registry key are not necessary in your [AddReg] and [DelReg] section, and many ShortCuts.

See you soon..

Edited by wallace1

Share this post


Link to post
Share on other sites

and not get an error in a virtual machine but when installing on my PC from the inf, I did not make the mistake ....

The icon in the Quick Launch toolbar, if I click on it, he said:

:\Documents and Settings\my_user\1 not found ?

Share this post


Link to post
Share on other sites
and not get an error in a virtual machine but when installing on my PC from the inf, I did not make the mistake ....

The icon in the Quick Launch toolbar, if I click on it, he said:

:\Documents and Settings\my_user\1 not found ?

The problem seems to be here :

CmdLine   =16422,SIW,siw.exe 1

Remove " 1" like this :

CmdLine   =16422,SIW,siw.exe

Share this post


Link to post
Share on other sites
The problem seems to be here :

CmdLine   =16422,SIW,siw.exe 1

Remove " 1" like this :

CmdLine   =16422,SIW,siw.exe

thanks wallace

[HS FR] erreur de copi

Share this post


Link to post
Share on other sites

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