Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

package and deployment wizard

Status
Not open for further replies.

ahart976

Programmer
Mar 20, 2001
4
0
0
GB
Can anyone recommend any sites that deal with using the package and deployment wizard for VB projects.

I want to suppress the messages that say that this file is older than the one currently on the users machine and keep the users newer version of the file automatically.

I've looked at the setup1 vb project but to be truthful did not have too much success with it.

Any help greatly aprreciated and will be rewarded in the next life
 
try to modify Setup1.vbp as follows
file: basSetup1.bas
sub: CopySection
.
.
.
Case fcOlder
If sFile.fDestDirRecognizedBySetupExe And FileInUse(strDestDir & strDestName) Then
'
'See previous comment.
'
owValue = owYes
Else
''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Here follows the part modified
''''''''''''''''''''''''''''''''''''''''''''''''''''''''
owValue = fOverWrite '
'Source file is not newer than destination file;
'prompt user for what to do
'
'Set frm = New frmOverwrite
'frm.FileName = strDestDir & strDestName
'frm.Version = strDestVer
'frm.Description = GetFileDescription(strDestDir & strDestName)
'frm.Show vbModal, frmSetup1
'owValue = frm.ReturnVal
'Set frm = Nothing
End If

good luck !
 
Thanks lux for the help it finally solved the problem.

For some reason I was not able to make a setup1.exe on my machine yesterday (must have had something open that was causing a conflict) and I tried your suggestion today and it worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top