cant install programs on other computers help

drlector
07-31-2003, 02:19 PM
hi

i have created a simple program
and now its finished a made it exe.

i end up with three folders 1) setup 2) setup.lst 3)a zipped folder

when i run the setup it installs perfect but when i put the 3 files on any other computer it wont install and it flashes up a quick message about update file or something.


can anybody help as this is driving me crazy

cheers

Thinker
07-31-2003, 02:26 PM
I would probably need more info to even guess. If you are using the
P&DW to create the install, you would have a setup.exe, setup.lst and
.cab file. It might help if you could get the exact message that is
popping up.

drlector
07-31-2003, 02:29 PM
to be honest i am not sur ehow to use the p&d properly

when i use the package thats all i did i didnt use deploy i dont even know how to can you help


my program is simple but it uses a wav file which i insert during the package


please tell me more

Thinker
07-31-2003, 02:49 PM
Did you add the .wav file to the package? Even if you didn't, it is hard
to see how a missing .wav file could stop the install. Without more info
from you it is just impossible to guess.

drlector
07-31-2003, 02:59 PM
when i install my program i have made on my computer it works but when i try to install it on another computer it comes up with a message saying : some system files are out of date



can any body help me please


cheers

Thinker
07-31-2003, 03:06 PM
Your program has a dependency on some library that either needs to be
installed or upgraded. This is a pretty common problem with installs for
win2k/xp computers. Are you using any database functionallity or
ActiveX controls or DirectX or some other reference/component?

drlector
08-01-2003, 11:14 AM
i am not sure if my program is using any of the above mentioned
so i have placed the entire program below for your veiwing purposes

cheers

Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" _
(ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) _
As Long

Const SND_ASYNC = &H1

Private Sub Cmdclear_Click()
Txtahour.Text = ""
Txtaminute.Text = ""
Txtahour.SetFocus

End Sub

Private Sub Cmdexit_Click()
End
End Sub

Private Sub Cmdsnooze_Click()
Txtaminute.Text = Txtaminute.Text + 10
If Txtaminute.Text >= 60 Then
Txtaminute.Text = Txtaminute.Text - 60
Txtaminute.Text = "0" & Right(Txtaminute.Text, 1)
Txtahour.Text = Txtahour.Text + 1
End If

End Sub

Private Sub Timer1_Timer()
Lbltime.Caption = Format(Time, "HH:MM:SS")

If Txtahour & ":" & Txtaminute & ":00" = Lbltime.Caption Then

Dim SoundFile As String
SoundFile = "C:\Program Files\Project1\alarm.wav"
PlaySound SoundFile, &O0, &H1
End If
End Sub

Private Sub Txtahour_Change()
If Len(Txtahour.Text) = 2 Then
Txtaminute.SetFocus
End If
End Sub

Private Sub Txtaminute_Change()
If Len(Txtaminute.Text) = 2 Then
Cmdsnooze.SetFocus
End If

End Sub

Thinker
08-01-2003, 04:45 PM
I think you need to attach the setup.lst file from the install package.
This program just seems too simple for that problem.

drlector
08-01-2003, 05:51 PM
i have fixed it my friend

i download sp5 for vb because my files where diferent to those on other computers

i then simple update vb with the sp5 and all is now well

thanks for your time and help with this anyway.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum