|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Moving .exe somtimes worksI do not believe they need "installation" since they run when double-clicked. However, today I copied a few over and some ran and some gave me this error message. Windows cannot access the specified device, path, or file. You may not have appropriate permissions to access them. This is a terrible message and leaves out the important information. Like what path etc. And to make matters worse, you cannot swipe the mouse over the message to copy it. Windows programmers need ergonomic training! And this window needs a spell checker. rant over. Apps are being copied to a XP SP2 pc. I am the only user. A home PC. What permissions do I need to use my own PC? On my second XP SP2 PC, I just copied them and they run fine. What is the difference? What is this all about? I have no clue. Suggestions please. "Bee" <B**@discussions.microsoft.com> wrote in message For any standard Windows message box, you should be able to press Ctrl+C and news:E2612530-11AD-4FBB-A71A-8B61B0837997@microsoft.com... > This is a terrible message and leaves out the important information. Like > what path etc. > And to make matters worse, you cannot swipe the mouse over the message to > copy it. > Windows programmers need ergonomic training! copy the contents. You even ought to hear a sound when you do it.
Show quote
Hide quote
"Bee" <B**@discussions.microsoft.com> wrote in message Try right-clicking the EXE on the computer you copied it to and select news:E2612530-11AD-4FBB-A71A-8B61B0837997@microsoft.com... >I have several VB6 apps that are copied to different PCs. > > I do not believe they need "installation" since they run when > double-clicked. > > However, today I copied a few over and some ran and some gave me this > error > message. > > Windows cannot access the specified device, path, or file. You may not > have > appropriate permissions to access them. > > This is a terrible message and leaves out the important information. Like > what path etc. > And to make matters worse, you cannot swipe the mouse over the message to > copy it. > Windows programmers need ergonomic training! > And this window needs a spell checker. > rant over. > > Apps are being copied to a XP SP2 pc. > I am the only user. A home PC. > What permissions do I need to use my own PC? > > On my second XP SP2 PC, I just copied them and they run fine. > What is the difference? > > What is this all about? > I have no clue. > Suggestions please. Properties. On the General tab, is there an Unblock command button? I'm guessing there is. Depending on how you copied it, Windows may be protecting your computer by blocking the EXE from running. If there's an Unblock button, this is what happened and I'm pretty sure that's the message you get. The blocking has to do with the program originating from a different computer than it's being run on and not having been installed. I would imagine it's documented somewhere exactly under what conditions Windows will block an EXE file (but then again, maybe not as this would essentially tell people how to overcome it and make the "feature" worthless). For the record, VB6 apps are not intended to just be copied to another computer. Although most of the time doing this will work fine if all the dependencies already exist, it's not the proper thing to do. And with Windows doing more itself to protect against malicious programs, you can probably expect that simply copying an EXE will work less and less often with each new version of Windows (or even new service packs). My advice to you would be to properly install your app. -- Mike Please read http://www.randem.com/installerproblems.html
-- Show quoteHide quoteRandem Systems Your Installation Specialist The Top Inno Setup Script Generator http://www.randem.com/innoscript.html Disk Read Error Press Ctl+Alt+Del to Restart http://www.randem.com/discus/messages/9402/9406.html?1236319938 "Bee" <B**@discussions.microsoft.com> wrote in message news:E2612530-11AD-4FBB-A71A-8B61B0837997@microsoft.com... >I have several VB6 apps that are copied to different PCs. > > I do not believe they need "installation" since they run when > double-clicked. > > However, today I copied a few over and some ran and some gave me this > error > message. > > Windows cannot access the specified device, path, or file. You may not > have > appropriate permissions to access them. > > This is a terrible message and leaves out the important information. Like > what path etc. > And to make matters worse, you cannot swipe the mouse over the message to > copy it. > Windows programmers need ergonomic training! > And this window needs a spell checker. > rant over. > > Apps are being copied to a XP SP2 pc. > I am the only user. A home PC. > What permissions do I need to use my own PC? > > On my second XP SP2 PC, I just copied them and they run fine. > What is the difference? > > What is this all about? > I have no clue. > Suggestions please. > Well, it was not any of the above.
The PC I was working one first had Comodo installed and it was locked in a fight with windows over control of app startups. It was a Windoes mssage not Comodo. I like Comodo beter that Zone Alarm because the messages are much easier to understand (when it is working). The other PC that worked ok the first time I tried had no firewall at all. After I disengaged Comodo, all apps that were copied over worked just fine (not to say that in the future some other app might not). But these are relatively simple and have no CommonDialog or other interfaces that might need to improper connection to the app at startup. I pulled the plug on the PC (the only way to really shut down these newer PCs cause if if you look you will see that they still leave the light on (on the motherboard) when using XP or Vista shutdown and are thus still powered. i.e. peripheral device interfaces are still powered. I have found many times that I can only clear a Windows Vista problem but pulling the plug. A restart does not do it. I would reboot multiple time and do shutdown multiple time only to fnd that Vista wold not start. Then I pulled the plug and tried again. Start on first attempt with no ill effects. Lessons learned the very hard way. Looking for a better firewall. Suggestions. Show quoteHide quote "Bee" wrote: > I have several VB6 apps that are copied to different PCs. > > I do not believe they need "installation" since they run when double-clicked. > > However, today I copied a few over and some ran and some gave me this error > message. > > Windows cannot access the specified device, path, or file. You may not have > appropriate permissions to access them. > > This is a terrible message and leaves out the important information. Like > what path etc. > And to make matters worse, you cannot swipe the mouse over the message to > copy it. > Windows programmers need ergonomic training! > And this window needs a spell checker. > rant over. > > Apps are being copied to a XP SP2 pc. > I am the only user. A home PC. > What permissions do I need to use my own PC? > > On my second XP SP2 PC, I just copied them and they run fine. > What is the difference? > > What is this all about? > I have no clue. > Suggestions please. > BTW: your app does need to be installed. Luck should not be part of the
installation process. -- Show quoteHide quoteRandem Systems Your Installation Specialist The Top Inno Setup Script Generator http://www.randem.com/innoscript.html Disk Read Error Press Ctl+Alt+Del to Restart http://www.randem.com/discus/messages/9402/9406.html?1236319938 "Bee" <B**@discussions.microsoft.com> wrote in message news:3B72D3E2-5129-4D7A-8240-D8154AA4A3BE@microsoft.com... > Well, it was not any of the above. > The PC I was working one first had Comodo installed and it was locked in a > fight with windows over control of app startups. It was a Windoes mssage > not > Comodo. > I like Comodo beter that Zone Alarm because the messages are much easier > to > understand (when it is working). The other PC that worked ok the first > time > I tried had no firewall at all. > > After I disengaged Comodo, all apps that were copied over worked just fine > (not to say that in the future some other app might not). > But these are relatively simple and have no CommonDialog or other > interfaces > that might need to improper connection to the app at startup. > > I pulled the plug on the PC (the only way to really shut down these newer > PCs cause if if you look you will see that they still leave the light on > (on > the motherboard) when using XP or Vista shutdown and are thus still > powered. > i.e. peripheral device interfaces are still powered. I have found many > times > that I can only clear a Windows Vista problem but pulling the plug. A > restart does not do it. I would reboot multiple time and do shutdown > multiple time only to fnd that Vista wold not start. Then I pulled the > plug > and tried again. Start on first attempt with no ill effects. Lessons > learned the very hard way. > > Looking for a better firewall. Suggestions. > > "Bee" wrote: > >> I have several VB6 apps that are copied to different PCs. >> >> I do not believe they need "installation" since they run when >> double-clicked. >> >> However, today I copied a few over and some ran and some gave me this >> error >> message. >> >> Windows cannot access the specified device, path, or file. You may not >> have >> appropriate permissions to access them. >> >> This is a terrible message and leaves out the important information. >> Like >> what path etc. >> And to make matters worse, you cannot swipe the mouse over the message to >> copy it. >> Windows programmers need ergonomic training! >> And this window needs a spell checker. >> rant over. >> >> Apps are being copied to a XP SP2 pc. >> I am the only user. A home PC. >> What permissions do I need to use my own PC? >> >> On my second XP SP2 PC, I just copied them and they run fine. >> What is the difference? >> >> What is this all about? >> I have no clue. >> Suggestions please. >> yeah but...
Every time I try to figure out the Inno stuff i get frustrated. So I am old and decaying. I take a good app that runs through the IDE Packager ... PDW If goes without error and can be used to install. When I try to use inno I get a raft of error messages that I cannot figure out. Why would I get errors there when I get none through the PDW? Based on what everyone says, I should use inno but for me it is outo. No good tutorials that I can find. The learning curve is straight up for me. Show quoteHide quote "Randem" wrote: > BTW: your app does need to be installed. Luck should not be part of the > installation process. > > -- > Randem Systems > Your Installation Specialist > The Top Inno Setup Script Generator > http://www.randem.com/innoscript.html > Disk Read Error Press Ctl+Alt+Del to Restart > http://www.randem.com/discus/messages/9402/9406.html?1236319938 > > > > "Bee" <B**@discussions.microsoft.com> wrote in message > news:3B72D3E2-5129-4D7A-8240-D8154AA4A3BE@microsoft.com... > > Well, it was not any of the above. > > The PC I was working one first had Comodo installed and it was locked in a > > fight with windows over control of app startups. It was a Windoes mssage > > not > > Comodo. > > I like Comodo beter that Zone Alarm because the messages are much easier > > to > > understand (when it is working). The other PC that worked ok the first > > time > > I tried had no firewall at all. > > > > After I disengaged Comodo, all apps that were copied over worked just fine > > (not to say that in the future some other app might not). > > But these are relatively simple and have no CommonDialog or other > > interfaces > > that might need to improper connection to the app at startup. > > > > I pulled the plug on the PC (the only way to really shut down these newer > > PCs cause if if you look you will see that they still leave the light on > > (on > > the motherboard) when using XP or Vista shutdown and are thus still > > powered. > > i.e. peripheral device interfaces are still powered. I have found many > > times > > that I can only clear a Windows Vista problem but pulling the plug. A > > restart does not do it. I would reboot multiple time and do shutdown > > multiple time only to fnd that Vista wold not start. Then I pulled the > > plug > > and tried again. Start on first attempt with no ill effects. Lessons > > learned the very hard way. > > > > Looking for a better firewall. Suggestions. > > > > "Bee" wrote: > > > >> I have several VB6 apps that are copied to different PCs. > >> > >> I do not believe they need "installation" since they run when > >> double-clicked. > >> > >> However, today I copied a few over and some ran and some gave me this > >> error > >> message. > >> > >> Windows cannot access the specified device, path, or file. You may not > >> have > >> appropriate permissions to access them. > >> > >> This is a terrible message and leaves out the important information. > >> Like > >> what path etc. > >> And to make matters worse, you cannot swipe the mouse over the message to > >> copy it. > >> Windows programmers need ergonomic training! > >> And this window needs a spell checker. > >> rant over. > >> > >> Apps are being copied to a XP SP2 pc. > >> I am the only user. A home PC. > >> What permissions do I need to use my own PC? > >> > >> On my second XP SP2 PC, I just copied them and they run fine. > >> What is the difference? > >> > >> What is this all about? > >> I have no clue. > >> Suggestions please. > >> > > > That is why there are Inno Setup and InnoScript help forums and utilities to
help you understand the process which PDW keeps you in the dark about. -- Show quoteHide quoteRandem Systems Your Installation Specialist The Top Inno Setup Script Generator http://www.randem.com/innoscript.html Disk Read Error Press Ctl+Alt+Del to Restart http://www.randem.com/discus/messages/9402/9406.html?1236319938 "Bee" <B**@discussions.microsoft.com> wrote in message news:C021CBE8-5719-43D2-B107-613FD34879D9@microsoft.com... > yeah but... > Every time I try to figure out the Inno stuff i get frustrated. > So I am old and decaying. > I take a good app that runs through the IDE Packager ... PDW > If goes without error and can be used to install. > When I try to use inno I get a raft of error messages that I cannot figure > out. > Why would I get errors there when I get none through the PDW? > Based on what everyone says, I should use inno but for me it is outo. > No good tutorials that I can find. > The learning curve is straight up for me. > > > "Randem" wrote: > >> BTW: your app does need to be installed. Luck should not be part of the >> installation process. >> >> -- >> Randem Systems >> Your Installation Specialist >> The Top Inno Setup Script Generator >> http://www.randem.com/innoscript.html >> Disk Read Error Press Ctl+Alt+Del to Restart >> http://www.randem.com/discus/messages/9402/9406.html?1236319938 >> >> >> >> "Bee" <B**@discussions.microsoft.com> wrote in message >> news:3B72D3E2-5129-4D7A-8240-D8154AA4A3BE@microsoft.com... >> > Well, it was not any of the above. >> > The PC I was working one first had Comodo installed and it was locked >> > in a >> > fight with windows over control of app startups. It was a Windoes >> > mssage >> > not >> > Comodo. >> > I like Comodo beter that Zone Alarm because the messages are much >> > easier >> > to >> > understand (when it is working). The other PC that worked ok the first >> > time >> > I tried had no firewall at all. >> > >> > After I disengaged Comodo, all apps that were copied over worked just >> > fine >> > (not to say that in the future some other app might not). >> > But these are relatively simple and have no CommonDialog or other >> > interfaces >> > that might need to improper connection to the app at startup. >> > >> > I pulled the plug on the PC (the only way to really shut down these >> > newer >> > PCs cause if if you look you will see that they still leave the light >> > on >> > (on >> > the motherboard) when using XP or Vista shutdown and are thus still >> > powered. >> > i.e. peripheral device interfaces are still powered. I have found many >> > times >> > that I can only clear a Windows Vista problem but pulling the plug. A >> > restart does not do it. I would reboot multiple time and do shutdown >> > multiple time only to fnd that Vista wold not start. Then I pulled the >> > plug >> > and tried again. Start on first attempt with no ill effects. Lessons >> > learned the very hard way. >> > >> > Looking for a better firewall. Suggestions. >> > >> > "Bee" wrote: >> > >> >> I have several VB6 apps that are copied to different PCs. >> >> >> >> I do not believe they need "installation" since they run when >> >> double-clicked. >> >> >> >> However, today I copied a few over and some ran and some gave me this >> >> error >> >> message. >> >> >> >> Windows cannot access the specified device, path, or file. You may >> >> not >> >> have >> >> appropriate permissions to access them. >> >> >> >> This is a terrible message and leaves out the important information. >> >> Like >> >> what path etc. >> >> And to make matters worse, you cannot swipe the mouse over the message >> >> to >> >> copy it. >> >> Windows programmers need ergonomic training! >> >> And this window needs a spell checker. >> >> rant over. >> >> >> >> Apps are being copied to a XP SP2 pc. >> >> I am the only user. A home PC. >> >> What permissions do I need to use my own PC? >> >> >> >> On my second XP SP2 PC, I just copied them and they run fine. >> >> What is the difference? >> >> >> >> What is this all about? >> >> I have no clue. >> >> Suggestions please. >> >> >> >> >> "Bee" <B**@discussions.microsoft.com> wrote in message Most likely the source path in [Files] was incorrect, so it was complaining news:C021CBE8-5719-43D2-B107-613FD34879D9@microsoft.com... > When I try to use inno I get a raft of error messages that I cannot figure > out. that it can't find your files. If you don't specify the full path, it's considered a relative path to where the script file is located; however, you can specify the full path, or you can tell Inno where to look for the files using SourceDir setting in [Setup] section. See: http://www.jrsoftware.org/ishelp/topic_sourcedirectorynotes.htm http://www.jrsoftware.org/ishelp/topic_setup_sourcedir.htm SourceDir setting works with one path, which is fine for most situations, however, there is another approach to specify multiple paths by using Inno Setup Preprocessor(ISPP). I personally use this approach. Here is an example. At the beginning of the script I use: #define SourcePathVBRuntime "C:\VBRun60sp6" #define SourcePathApp "C:\Projects\MyApp" Then later in the script: [Files] ; begin VB system files Source: {#SourcePathVBRuntime}\stdole2.tlb; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regtypelib Source: {#SourcePathVBRuntime}\msvbvm60.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver Source: {#SourcePathVBRuntime}\oleaut32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver Source: {#SourcePathVBRuntime}\olepro32.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver Source: {#SourcePathVBRuntime}\asycfilt.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile Source: {#SourcePathVBRuntime}\comcat.dll; DestDir: {sys}; OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver ; end VB system files Source: {#SourcePathApp}\MyApp.exe; DestDir: {app}; Flags: ignoreversion restartreplace uninsrestartdelete This is what it takes to install a simple VB6 app on Windows 95 to 7. To make it complete, you will have to add a [Setup] section which the wizard in Inno setup creates. If you use OCX files, then you need to install them. Example: ; begin OCX files Source: {#SourcePathApp}\InnoSetup\Files\MSCOMCTL.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver Source: {#SourcePathApp}\InnoSetup\Files\MSWINSCK.OCX; DestDir: {sys}; Flags: restartreplace sharedfile regserver ; end OCX files And here is a sample [Setup] section to make the script complete: [Setup] PrivilegesRequired=admin AppName={#MyAppName} ; The name displayed to the user in "Add/Remove Programs" is AppVerName AppVerName={#MyAppVerName} DefaultDirName={pf}\MyApp DefaultGroupName=MyApp LicenseFile={#SourcePathApp}\license.txt InfoBeforeFile={#SourcePathApp}\Readme.txt UninstallDisplayIcon={app}\MyApp.exe Some of these parameters are optional, like license and readme files. Thanks
This requires printing and studying on my part. Show quoteHide quote "Nobody" wrote: > "Bee" <B**@discussions.microsoft.com> wrote in message > news:C021CBE8-5719-43D2-B107-613FD34879D9@microsoft.com... > > When I try to use inno I get a raft of error messages that I cannot figure > > out. > > Most likely the source path in [Files] was incorrect, so it was complaining > that it can't find your files. If you don't specify the full path, it's > considered a relative path to where the script file is located; however, you > can specify the full path, or you can tell Inno where to look for the files > using SourceDir setting in [Setup] section. See: > > http://www.jrsoftware.org/ishelp/topic_sourcedirectorynotes.htm > http://www.jrsoftware.org/ishelp/topic_setup_sourcedir.htm > > SourceDir setting works with one path, which is fine for most situations, > however, there is another approach to specify multiple paths by using Inno > Setup Preprocessor(ISPP). I personally use this approach. Here is an > example. At the beginning of the script I use: > > #define SourcePathVBRuntime "C:\VBRun60sp6" > #define SourcePathApp "C:\Projects\MyApp" > > Then later in the script: > > [Files] > ; begin VB system files > Source: {#SourcePathVBRuntime}\stdole2.tlb; DestDir: {sys}; > OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile > regtypelib > Source: {#SourcePathVBRuntime}\msvbvm60.dll; DestDir: {sys}; > OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile > regserver > Source: {#SourcePathVBRuntime}\oleaut32.dll; DestDir: {sys}; > OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile > regserver > Source: {#SourcePathVBRuntime}\olepro32.dll; DestDir: {sys}; > OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile > regserver > Source: {#SourcePathVBRuntime}\asycfilt.dll; DestDir: {sys}; > OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall sharedfile > Source: {#SourcePathVBRuntime}\comcat.dll; DestDir: {sys}; OnlyBelowVersion: > 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver > ; end VB system files > > Source: {#SourcePathApp}\MyApp.exe; DestDir: {app}; Flags: ignoreversion > restartreplace uninsrestartdelete > > > This is what it takes to install a simple VB6 app on Windows 95 to 7. To > make it complete, you will have to add a [Setup] section which the wizard in > Inno setup creates. If you use OCX files, then you need to install them. > Example: > > ; begin OCX files > Source: {#SourcePathApp}\InnoSetup\Files\MSCOMCTL.OCX; DestDir: {sys}; > Flags: restartreplace sharedfile regserver > Source: {#SourcePathApp}\InnoSetup\Files\MSWINSCK.OCX; DestDir: {sys}; > Flags: restartreplace sharedfile regserver > ; end OCX files > > And here is a sample [Setup] section to make the script complete: > > [Setup] > PrivilegesRequired=admin > AppName={#MyAppName} > ; The name displayed to the user in "Add/Remove Programs" is AppVerName > AppVerName={#MyAppVerName} > DefaultDirName={pf}\MyApp > DefaultGroupName=MyApp > LicenseFile={#SourcePathApp}\license.txt > InfoBeforeFile={#SourcePathApp}\Readme.txt > UninstallDisplayIcon={app}\MyApp.exe > > Some of these parameters are optional, like license and readme files. > > > The run your system thru InnoScript to see if that makes it any easier...
-- Show quoteHide quoteRandem Systems Your Installation Specialist The Top Inno Setup Script Generator http://www.randem.com/innoscript.html Disk Read Error Press Ctl+Alt+Del to Restart http://www.randem.com/discus/messages/9402/9406.html?1236319938 "Bee" <B**@discussions.microsoft.com> wrote in message news:271B94BF-0C92-45ED-9FBC-F25E0D895A06@microsoft.com... > Thanks > > This requires printing and studying on my part. > > > "Nobody" wrote: > >> "Bee" <B**@discussions.microsoft.com> wrote in message >> news:C021CBE8-5719-43D2-B107-613FD34879D9@microsoft.com... >> > When I try to use inno I get a raft of error messages that I cannot >> > figure >> > out. >> >> Most likely the source path in [Files] was incorrect, so it was >> complaining >> that it can't find your files. If you don't specify the full path, it's >> considered a relative path to where the script file is located; however, >> you >> can specify the full path, or you can tell Inno where to look for the >> files >> using SourceDir setting in [Setup] section. See: >> >> http://www.jrsoftware.org/ishelp/topic_sourcedirectorynotes.htm >> http://www.jrsoftware.org/ishelp/topic_setup_sourcedir.htm >> >> SourceDir setting works with one path, which is fine for most situations, >> however, there is another approach to specify multiple paths by using >> Inno >> Setup Preprocessor(ISPP). I personally use this approach. Here is an >> example. At the beginning of the script I use: >> >> #define SourcePathVBRuntime "C:\VBRun60sp6" >> #define SourcePathApp "C:\Projects\MyApp" >> >> Then later in the script: >> >> [Files] >> ; begin VB system files >> Source: {#SourcePathVBRuntime}\stdole2.tlb; DestDir: {sys}; >> OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall >> sharedfile >> regtypelib >> Source: {#SourcePathVBRuntime}\msvbvm60.dll; DestDir: {sys}; >> OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall >> sharedfile >> regserver >> Source: {#SourcePathVBRuntime}\oleaut32.dll; DestDir: {sys}; >> OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall >> sharedfile >> regserver >> Source: {#SourcePathVBRuntime}\olepro32.dll; DestDir: {sys}; >> OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall >> sharedfile >> regserver >> Source: {#SourcePathVBRuntime}\asycfilt.dll; DestDir: {sys}; >> OnlyBelowVersion: 0,6; Flags: restartreplace uninsneveruninstall >> sharedfile >> Source: {#SourcePathVBRuntime}\comcat.dll; DestDir: {sys}; >> OnlyBelowVersion: >> 0,6; Flags: restartreplace uninsneveruninstall sharedfile regserver >> ; end VB system files >> >> Source: {#SourcePathApp}\MyApp.exe; DestDir: {app}; Flags: ignoreversion >> restartreplace uninsrestartdelete >> >> >> This is what it takes to install a simple VB6 app on Windows 95 to 7. To >> make it complete, you will have to add a [Setup] section which the wizard >> in >> Inno setup creates. If you use OCX files, then you need to install them. >> Example: >> >> ; begin OCX files >> Source: {#SourcePathApp}\InnoSetup\Files\MSCOMCTL.OCX; DestDir: {sys}; >> Flags: restartreplace sharedfile regserver >> Source: {#SourcePathApp}\InnoSetup\Files\MSWINSCK.OCX; DestDir: {sys}; >> Flags: restartreplace sharedfile regserver >> ; end OCX files >> >> And here is a sample [Setup] section to make the script complete: >> >> [Setup] >> PrivilegesRequired=admin >> AppName={#MyAppName} >> ; The name displayed to the user in "Add/Remove Programs" is AppVerName >> AppVerName={#MyAppVerName} >> DefaultDirName={pf}\MyApp >> DefaultGroupName=MyApp >> LicenseFile={#SourcePathApp}\license.txt >> InfoBeforeFile={#SourcePathApp}\Readme.txt >> UninstallDisplayIcon={app}\MyApp.exe >> >> Some of these parameters are optional, like license and readme files. >> >> >>
Excel Execution from VB Fails on 2nd Attempt
Use an Addin to automatically add date/time stamp to each edited line of VB6 code? Sub .... or Private Sub.... When and where do I do Set m_FormVar = Nothing? Serial Number VB6 - Just In Time Error Message Help MS Access Query in VB6 fso.Drives replacement The GPF in VB6 Environment is caused by: Call HtmlHelp(Me.hwnd, App.HelpFile, HH_CLOSE_ALL, 0&) Security Settings |
|||||||||||||||||||||||