Members - Reputation: 104
Posted 03 September 2012 - 12:09 AM
Can anyone give me an insight into the details i should know while creating installer packages?
>> Is it possible to generate the setup file using Visual Studio itself?
>>How do i include the visual studio redistributable package in the setup?
>>While testing the project on a Windows 7 system, the program continuously crashed saying "APPCRASH/ faulting module openGL32.dll".
I tried replacing the opengl32.dll file with previous versions but didn't work. Tried teinstalling the OpenGL, even reinstalled the drivers (Intel 82945G Express chipset) ,but the bug persists.
Banned - Reputation: 147
Crossbones+ - Reputation: 8006
Posted 03 September 2012 - 01:58 AM
Of course it could also be the driver, I have had bad experience with Intel drivers. If it is the driver, there is no real solution. Possible alternatives are:
1) find out what functionality causes the problem and do not use it. In my case the driver claimed it could do FBOs but just failed horribly at it.
2) use a different code path for cards known to cause problems.
3) accept that the program won't run on that line of cards.
4) hope for driver updates. Of course in my case Intel hadn't updated the Vista driver since 2009, but you probably have more luck on Windows 7.
Crossbones+ - Reputation: 11734
Posted 03 September 2012 - 04:35 AM
The application performed just fine under Windows XP on the same system. So i doubt if its the driver support issue which is causing the bug..
Windows XP and Windows 7 have very different drivers so don't rule that out.
It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.
Members - Reputation: 501
Posted 03 September 2012 - 04:50 AM
It hopefully might flag up an error either running on your development system, or you could run it unders windows 7 on the test system.
Could be something like writing to memory outside where you should be, or you are not initializing something you are passing to opengl and relying on whatever happens to be in the memory to stop it crashing. I'd triple check everything you are sending to opengl. I had a similar bug where I was not resetting glPixelStorei with glTexSubImage2D recently.
If you aren't able to install the IDE etc on the win 7 environment, you could also make several builds of your program, and #ifdef out your opengl code, then gradually reintroduce it bit by bit to try and pin down what is causing the issue.
Members - Reputation: 122
Posted 03 September 2012 - 04:58 AM
Be Warned: There are some NON MSI (Windows installer Package) Tools out there but they are not supported from
Microsoft and bypassing the Windows Installer System. I using WIX Windows Installer XML (OpenSource and free
from Microsoft) for creating Windows Installer compliant MSI Setups wich runs flawless on XP/Vista/Win7/8 (32/64-Bit)
But this is NOT an easy click by click Setup Creator. You have to study and learn to use it ( i think you need upto 1-3
a days to figure it out for your needs.But if you know to do it, you never miss it anymore. Of cause you can also generate
FullPatches and Deltapatches *(.msp) Deltapatches are great if you change a hughfile and only to shiip the changed
bits but not the complete, largefile. Of cause Repair/Remove/Add User, Add Service/Unisntall Service Registry and
File Copy and Shortcut Creation can be performed.