Re: using package and deployment program wont run




"cjsmith411 via VBMonster.com" <u28231@uwe> wrote in message news:685bc16ebc4d2@xxxxxx
I have an application that i will be installing on different machines. So I
thought i would use the package and deployment wizard to create the setup
file. This runs fine however when i go to run the program once it is
installed it runs, but none of the forms will show up. It is listed in the
windows task manager. I have a main form and on the load event of that form
i call another form using form.show vbmodal. I have the user hit yes or no
on that form and a timer on that form as well incase the don't respond it
will revert back to the main form. It runs fine if i just run the exe file
that is produced in VB by going to file...make program.exe. That works but
if i use the package and deployment and run the installed file, the forms
wont show up on the screen. Any ideas??


Maybe it's just me, but I'm quite thoroughly confused by that description. As I can tell, you're basically saying that your compiled EXE runs fine on your dev PC, but not on any PC it's installed on via a PDW-created Setup? Are you getting any errors? Does your program have error handling code to trap errors? Are you using On Error Resume Next, which is just going to cause any errors to be ignored? The program is obviously installed "correctly" as far as dependency files go or else it wouldn't run at all, so I think you can rule out an improper installation. That means there's a problem in your program's code. Without more information, such as an error that's getting raised and the code that's causing that error, pretty difficult for us to diagnose.

--
Mike
Microsoft MVP Visual Basic

.



Relevant Pages

  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)
  • Security Update for Microsoft Data Access Components (KB832483)
    ... : An error occurred while setup was trying to ... verify the version of Microsoft Data Access Components ... package returned FALSE, or there was a fatal error while ... installation. ...
    (microsoft.public.windowsupdate)
  • Re: WinUp not recognizing 832483
    ... : Creating worker thread to handle installation of files. ... : Executing PreInstallActions for package. ... : An error occurred while setup was trying to verify the version ... of Microsoft Data Access Components current installed on the machine. ...
    (microsoft.public.windowsupdate)
  • Re: Custom Actions during setup
    ... the VS 2005 setup project's bootstrapper/prerequisites feature to do the ... package in the previous thread, have you had a look at that or do you have ... Anyway, when using bootstrapper package to deploy prerequisites, after the ... your main application's installation start. ...
    (microsoft.public.vsnet.setup)
  • Re: Application Setup and Deployment
    ... copy all my project files over and compile. ... > installation package on the oldest Operating System that you must support. ... > When you say 'Application Setup and Deployment wizard' do you mean Package ...
    (microsoft.public.vb.general.discussion)

Loading