once again SETUP1

Salat
04-19-2002, 03:29 PM
I've modified SETUP1.VBP located in VB\SetupKit\SETUP1 Folder, everything is working almost perfect except one little error.

When you lunch the setup, welcome dialog is shown, then you click INSTALL and begin dialog is shown (you can change destination path here), then you click OK and It's starting to Install. After It message box appears "PROJECT1 Installed Succesully" you click OK and then...

"Are you sure You want to interupt this setup?" message appears Why? I don't know. I didn't interfere so much in orginal code (I think). Have you got any suggestions guys?

If you click YES then removal application is lunched.
If you click NO then setup is normaly completed.

have a look at this screenshot "I didn't interfere so much in orginal code (I think). "

The IceMan
04-19-2002, 03:32 PM
haven't you switched the name of any command button ???:D


cannot answer if you don't attach the whole code

Salat
04-19-2002, 03:33 PM
whole code you mean whole project (but it is huggge)

Thinker
04-19-2002, 04:19 PM
In the unchanged setup1 project, the way it properly signals that
the install was correct is to call ExitSetup Me, gintRET_FINISHEDSUCCESS
Most of the other options will cause your error to appear. It is too
big an app for you to post, but if you just can't find it, you might
be able to just attach your modified Setup1.FRM and Setup1.BAS.

Salat
04-19-2002, 04:34 PM
ok I've attached those files. but I don't think I will help. I haven't change even a line of code in those ones. I've mostly modified other forms. (I find out when I've changed frmDskSpace and frmRemoteServerDetails then Setup generates this stupid error)

and another clue:

I've wirte a function for every form which draws on it a rounded button (it's using one PictureBox, one Label with Index=0 and three Image with index=0 for generate flat button, onMouseOver button and OnMouseDown button. Label is an activity area which is resposible for mouse movements and clicking)

Thinker
04-19-2002, 04:56 PM
Obviously, there is no way I can be sure, but I expect in this code...

ExitSetup:
HideStaticMessageDialog
RestoreProgMan
If fWithinAction() Then '<- This might be true
'By now, all logging actions should have been either aborted or committed.
MsgError ResolveResString(resSTILLWITHINACTION), vbExclamation Or vbOKOnly, gstrTitle
ExitSetup Me, gintRET_FATAL
End If
MoveAppRemovalFiles strGroupName
'
' If we installed AXDIST.EXE, we now need to delete it.
' It's a self-extracting file that has already extracted.
'
If FileExists(gstrAXDISTInstallPath) Then
Kill gstrAXDISTInstallPath
End If
'
' If we installed WINt351.EXE, we now need to delete it.
' It's a self-extracting file that has already extracted.
'
If FileExists(gstrWINt351InstallPath) Then
Kill gstrWINt351InstallPath
End If

ExitSetup Me, gintRET_FINISHEDSUCCESS

The line I marked is returning true. Might be because some other
part of your install is still running. That RestoreProgMan isn't in
my copy of the original project. Maybe that has something to do
with it.

Salat
04-19-2002, 05:01 PM
it's probably that. I've changed somepart
from:
Unolad Me
to:
Hide.Me

why did I change it?
Welcome form has a picture which every other form gets and draw on itself. (to make my setup most small) I thing I need to change it back.

Salat
04-19-2002, 05:12 PM
oh...@#$$!!#$%$ it's not working

Salat
04-20-2002, 03:23 PM
:D :D :D :D :D
It's is working. Thinker you are the greatest... I"m so happy

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum