Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Problem with bug

Problem with bug

Scheduled Pinned Locked Moved C#
helptutorial
17 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    humayunlalzad
    wrote on last edited by
    #1

    Hi guys We have this exe file on the internet for the people to download, the problem is when somebody downloads the exe and tries to install it, the program asks them to download dot net 3.5 first. And the user is asked if he wants to download dotnet3.5 and when you click yes, you get a messagebox saying "downloading otnetfx.exe", followed by another messagebox saying download failed. The only thing I have figured out is that it should be downloading "dotnetfx.exe" and not "otnetfx.exe". So there is a spelling mistake by a coder somewhere. I have done a quicksearch of "otnetfx.exe" in the current project, but nothing came out of it. So guys can anyone tell me where to find this code and how to fix it

    S 1 Reply Last reply
    0
    • H humayunlalzad

      Hi guys We have this exe file on the internet for the people to download, the problem is when somebody downloads the exe and tries to install it, the program asks them to download dot net 3.5 first. And the user is asked if he wants to download dotnet3.5 and when you click yes, you get a messagebox saying "downloading otnetfx.exe", followed by another messagebox saying download failed. The only thing I have figured out is that it should be downloading "dotnetfx.exe" and not "otnetfx.exe". So there is a spelling mistake by a coder somewhere. I have done a quicksearch of "otnetfx.exe" in the current project, but nothing came out of it. So guys can anyone tell me where to find this code and how to fix it

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      humayunlalzad wrote:

      The only thing I have figured out is that it should be downloading "dotnetfx.exe" and not "otnetfx.exe".

      Correct. You will need to change/correct the setup application to download the correct file.

      Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


      [Forum Guidelines] [Articles] [Blog]

      H 1 Reply Last reply
      0
      • S Scott Dorman

        humayunlalzad wrote:

        The only thing I have figured out is that it should be downloading "dotnetfx.exe" and not "otnetfx.exe".

        Correct. You will need to change/correct the setup application to download the correct file.

        Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


        [Forum Guidelines] [Articles] [Blog]

        H Offline
        H Offline
        humayunlalzad
        wrote on last edited by
        #3

        So where will I find this setup file, or how does it look like

        S 1 Reply Last reply
        0
        • H humayunlalzad

          So where will I find this setup file, or how does it look like

          S Offline
          S Offline
          Scott Dorman
          wrote on last edited by
          #4

          If you aren't the original creator of the setup program that is being downloaded you will need to contact that company/person and have them fix it.

          Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


          [Forum Guidelines] [Articles] [Blog]

          H 1 Reply Last reply
          0
          • S Scott Dorman

            If you aren't the original creator of the setup program that is being downloaded you will need to contact that company/person and have them fix it.

            Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


            [Forum Guidelines] [Articles] [Blog]

            H Offline
            H Offline
            humayunlalzad
            wrote on last edited by
            #5

            I work for the company, the original coder has left the company and this is my first week in a coding environment. The boss does not know any coding, all he wants is the problem to be fixed.

            S 1 Reply Last reply
            0
            • H humayunlalzad

              I work for the company, the original coder has left the company and this is my first week in a coding environment. The boss does not know any coding, all he wants is the problem to be fixed.

              S Offline
              S Offline
              Scott Dorman
              wrote on last edited by
              #6

              You need to use the same tool the original coder used to create the setup application (which could be Visual Studio, InstallShield, Wise, WIX, InnoSetup, or any other "installation creation" application). Open the installer project file, make the correction and then rebuild the setup application.

              Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


              [Forum Guidelines] [Articles] [Blog]

              H 1 Reply Last reply
              0
              • S Scott Dorman

                You need to use the same tool the original coder used to create the setup application (which could be Visual Studio, InstallShield, Wise, WIX, InnoSetup, or any other "installation creation" application). Open the installer project file, make the correction and then rebuild the setup application.

                Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                [Forum Guidelines] [Articles] [Blog]

                H Offline
                H Offline
                humayunlalzad
                wrote on last edited by
                #7

                He has used Visual Studio 2005. So where will I find the installer project.

                S 1 Reply Last reply
                0
                • H humayunlalzad

                  He has used Visual Studio 2005. So where will I find the installer project.

                  S Offline
                  S Offline
                  Scott Dorman
                  wrote on last edited by
                  #8

                  Well, hopefully it has been checked in to whatever source control system you are using and is a project in the Visual Studio solution. Look for a project with a .vdproj extension.

                  Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                  [Forum Guidelines] [Articles] [Blog]

                  H 1 Reply Last reply
                  0
                  • S Scott Dorman

                    Well, hopefully it has been checked in to whatever source control system you are using and is a project in the Visual Studio solution. Look for a project with a .vdproj extension.

                    Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                    [Forum Guidelines] [Articles] [Blog]

                    H Offline
                    H Offline
                    humayunlalzad
                    wrote on last edited by
                    #9

                    No Scott, There is no .vdproj extensioned file. We have used VisualC# express 2005 to make the project. If that helps.

                    S D 3 Replies Last reply
                    0
                    • H humayunlalzad

                      No Scott, There is no .vdproj extensioned file. We have used VisualC# express 2005 to make the project. If that helps.

                      S Offline
                      S Offline
                      Scott Dorman
                      wrote on last edited by
                      #10

                      It sounds like we are talking about different projects. What you need to find is the application and project file that was used to create the setup application, not the program that is being installed. This is typically a "Visual Studio Deployment Project", an InstallShield .ism project, etc. That is what needs to be changed. The only other possibility is that you have a completely custom written setup application. In that case, you would have a regular Visual Studio project file and would then need to change the source code for that application.

                      Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                      [Forum Guidelines] [Articles] [Blog]

                      H 1 Reply Last reply
                      0
                      • H humayunlalzad

                        No Scott, There is no .vdproj extensioned file. We have used VisualC# express 2005 to make the project. If that helps.

                        D Offline
                        D Offline
                        DaveyM69
                        wrote on last edited by
                        #11

                        As I remember - I don't think you can make set up projects in the express editions [apart from your own custom ones] (I could be wrong!). If so, the previous guy must have used some other software as previously suggested. On a side note - check the EULA for the express edition. Again, I'm fairly certain that it is not licenced for use in a commercial environment apart from for evaluation. This also prohibits 'Go Live' scenarios where the application is only to be used in house. It's unlikely to be discovered - but your boss should be made aware if he's breaking the EULA. Check it out first before scaring him!

                        Dave

                        modified on Tuesday, June 3, 2008 10:46 AM

                        1 Reply Last reply
                        0
                        • S Scott Dorman

                          It sounds like we are talking about different projects. What you need to find is the application and project file that was used to create the setup application, not the program that is being installed. This is typically a "Visual Studio Deployment Project", an InstallShield .ism project, etc. That is what needs to be changed. The only other possibility is that you have a completely custom written setup application. In that case, you would have a regular Visual Studio project file and would then need to change the source code for that application.

                          Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                          [Forum Guidelines] [Articles] [Blog]

                          H Offline
                          H Offline
                          humayunlalzad
                          wrote on last edited by
                          #12

                          I think this .nsi file has got something to do with the installation it has these scripts which I have never seen in mylife.

                          InstallDotNet:

                            ExecWait 'dotnetfx.exe'
                            Delete "dotnetfx.exe"
                          
                            Call IsDotNETInstalled
                            Pop $R3
                            StrCmp $R3 0 DotNetFailed
                              Goto CompleteInstallation
                          
                          DotNetFailed:
                            MessageBox MB\_OK "The Microsoft.NET Framework setup has failed. Please restart the PiPe setup, or install the latest .NET Framework directly from Microsoft's website."
                            Quit
                          

                          Can you tell me what the file does and what language is it.

                          S 1 Reply Last reply
                          0
                          • H humayunlalzad

                            I think this .nsi file has got something to do with the installation it has these scripts which I have never seen in mylife.

                            InstallDotNet:

                              ExecWait 'dotnetfx.exe'
                              Delete "dotnetfx.exe"
                            
                              Call IsDotNETInstalled
                              Pop $R3
                              StrCmp $R3 0 DotNetFailed
                                Goto CompleteInstallation
                            
                            DotNetFailed:
                              MessageBox MB\_OK "The Microsoft.NET Framework setup has failed. Please restart the PiPe setup, or install the latest .NET Framework directly from Microsoft's website."
                              Quit
                            

                            Can you tell me what the file does and what language is it.

                            S Offline
                            S Offline
                            Scott Dorman
                            wrote on last edited by
                            #13

                            humayunlalzad wrote:

                            I think this .nsi file has got something to do with the installation it has these scripts which I have never seen in mylife.

                            Yes, a .nsi is the script file created by the NullSoft Scriptable Install System (NSIS) (http://nsis.sourceforge.net/Main_Page[^]). You will need to download and install NSIS, make the necessary changes and then rebuild the installer.

                            Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai


                            [Forum Guidelines] [Articles] [Blog]

                            1 Reply Last reply
                            0
                            • H humayunlalzad

                              No Scott, There is no .vdproj extensioned file. We have used VisualC# express 2005 to make the project. If that helps.

                              D Offline
                              D Offline
                              DaveyM69
                              wrote on last edited by
                              #14

                              Ignore my previous post re licencing "there are no licensing restrictions for applications built using Visual Studio Express Editions" http://www.microsoft.com/express/support/faq/default.aspx[^] Q7. :-D

                              Dave

                              H 1 Reply Last reply
                              0
                              • D DaveyM69

                                Ignore my previous post re licencing "there are no licensing restrictions for applications built using Visual Studio Express Editions" http://www.microsoft.com/express/support/faq/default.aspx[^] Q7. :-D

                                Dave

                                H Offline
                                H Offline
                                humayunlalzad
                                wrote on last edited by
                                #15

                                Thanx I thought my Boss is crook, but I guess he is not

                                D 1 Reply Last reply
                                0
                                • H humayunlalzad

                                  Thanx I thought my Boss is crook, but I guess he is not

                                  D Offline
                                  D Offline
                                  DaveyM69
                                  wrote on last edited by
                                  #16

                                  He probably is - most are! :laugh:

                                  Dave

                                  H 1 Reply Last reply
                                  0
                                  • D DaveyM69

                                    He probably is - most are! :laugh:

                                    Dave

                                    H Offline
                                    H Offline
                                    humayunlalzad
                                    wrote on last edited by
                                    #17

                                    LOL that was funny. And True

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups