|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Shrink WrapIt is a long time since I did a shrink erap of a an aplication. In VB3
there was an aditional application that did a very basic shrink wrap. This produced a source that could be edited. I am on VB6 and need to shrink wrap. There is a Publish option from the tools menu but this takes me to a aform that asks for VCM Local Database I am lost here. Any ideas or do I need to buy install shield which is a bit over the top for me as I would probably not need it again. There are no complecated external activeX controlls. Desmond.
Show quote
"Des" <desotuat***@aol.com> wrote in message
news:1129741444.607672.51680@g14g2000cwa.googlegroups.com > It is a long time since I did a shrink erap of a an aplication. In VB3 > there was an aditional application that did a very basic shrink wrap. > This produced a source that could be edited. > > I am on VB6 and need to shrink wrap. There is a Publish option from > the tools menu but this takes me to a aform that asks for > VCM > Local Database > > I am lost here. > > Any ideas or do I need to buy install shield which is a bit over the > top for me as I would probably not need it again. There are no > complecated external activeX controlls. > > Desmond. --
Reply to the group so all can participate VB.Net: "Fool me once..." "Des" <desotuat***@aol.com> wrote in message With VB6 you should have gotten the 'Package and Deployment Wizard' andnews:1129741444.607672.51680@g14g2000cwa.googlegroups.com > It is a long time since I did a shrink erap of a an aplication. In VB3 > there was an aditional application that did a very basic shrink wrap. > This produced a source that could be edited. > > I am on VB6 and need to shrink wrap. There is a Publish option from > the tools menu but this takes me to a aform that asks for > VCM > Local Database > > I am lost here. there should be an entry for that under start / programs right next to VB6. There will be a Setup1.VBP project under your VB6 install directory that you can customize to create the SETUP1.EXE that the install package uses. -- Reply to the group so all can participate VB.Net: "Fool me once..." Check out Inno Setup.
www.innosetup.com It's freeware. -- Show quoteTim Rude timrude@NOSPAM.hotmail.com (remove NOSPAM. for correct email address) "Des" <desotuat***@aol.com> wrote in message news:1129741444.607672.51680@g14g2000cwa.googlegroups.com... > It is a long time since I did a shrink erap of a an aplication. In VB3 > there was an aditional application that did a very basic shrink wrap. > This produced a source that could be edited. > > I am on VB6 and need to shrink wrap. There is a Publish option from the > tools menu but this takes me to a aform that asks for > VCM > Local Database > > I am lost here. > > Any ideas or do I need to buy install shield which is a bit over the > top for me as I would probably not need it again. There are no > complecated external activeX controlls. > > Desmond. > Thanks for that. The only thing out standing is how to change the
default directory. To for example h:\DesApp Here is the setup.lst I want the exe in the above directory [Setup] Title=Lotto DefaultDir=$(ProgramFiles) AppExe=Lotto.exe AppToUninstall=Lotto.exe "Des" <desotuat***@aol.com> wrote in message You *could* just edit the setup.lst file directly, but you'd have to do it news:1129742804.716052.17750@z14g2000cwz.googlegroups.com... > Thanks for that. The only thing out standing is how to change the > default directory. To for example > h:\DesApp > Here is the setup.lst I want the exe in the above directory > > [Setup] > Title=Lotto > DefaultDir=$(ProgramFiles) > AppExe=Lotto.exe > AppToUninstall=Lotto.exe > every time you run PDW. Instead, at the Install Location step of PDW, change it there. -- Mike Microsoft MVP Visual Basic Using a folder like the one you have suggested, like "c:\DesApp" would
bother some users because they may not want to frequently access that folder. It puts off some users so they don't buy your product. I am for one like to keep the root folder list as small as possible. This obviously depends on what you need. If for some reason your app works only in a specific folder, then you may have something like this: Open "c:\DesApp\config.txt" For Binary As #f Instead change it to: Open App.Path & "\config.txt" For Binary As #f This way your app will work in any folder. Show quote "Des" <desotuat***@aol.com> wrote in message news:1129742804.716052.17750@z14g2000cwz.googlegroups.com... > Thanks for that. The only thing out standing is how to change the > default directory. To for example > h:\DesApp > Here is the setup.lst I want the exe in the above directory > > [Setup] > Title=Lotto > DefaultDir=$(ProgramFiles) > AppExe=Lotto.exe > AppToUninstall=Lotto.exe > "Someone" <nob***@cox.net> wrote in message I also don't like programs installed to immediate subfolders of the drive's news:es5MRbN1FHA.1564@tk2msftngp13.phx.gbl... > Using a folder like the one you have suggested, like "c:\DesApp" would > bother some users because they may not want to frequently access that > folder. It puts off some users so they don't buy your product. I am for > one like to keep the root folder list as small as possible. root, nor do I think it should be the default. But if he wants to make it the default (and still allow the user to specify an alternate folder), I guess that's his choice. To a large degree, it depends on the target audience. If they're even somewhat knowledgeable, they'll probably have their own folder structure. For example, I have 7 logical drives. 4 are for different versions of Windows (allowing multiboot) and files that must be installed on the same drive as Windows. Another is for anything development-related (Visual Studio, source code, etc.). Another is strictly for games. The last is for all other apps (MSOffice, Quicken, general tools and utilities, etc.). I would definately be extremely annoyed if an installation did not let me install the app to my I:\ drive (my "apps" drive) and in a subfolder of my choosing. I get annoyed enough that programs install parts of themselves here, there, and wherever, regardless of the installation folder that I choose (I blame MS for starting that mess). It's also possible this app is for a specific company and for in-house use only and the company wants the app installed to a certain folder. > If he's forcing this installation folder because he's hard-coded that path > If for some reason your app works only in a specific folder, then you may > have something like this: > > Open "c:\DesApp\config.txt" For Binary As #f > > Instead change it to: > > Open App.Path & "\config.txt" For Binary As #f > > This way your app will work in any folder. into his app, then you're absolutely right. -- Mike Microsoft MVP Visual Basic "Des" <desotuat***@aol.com> wrote in message Why on earth would you want to do that? That's nothing but laziness. Let the news:1129742804.716052.17750@z14g2000cwz.googlegroups.com... > Thanks for that. The only thing out standing is how to change the > default directory. user choose where to put the program. "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message There's nothing wrong (IMO) with that being the default. I agree that under news:%23EFgG9N1FHA.2964@TK2MSFTNGP09.phx.gbl... > > "Des" <desotuat***@aol.com> wrote in message > news:1129742804.716052.17750@z14g2000cwz.googlegroups.com... > >> Thanks for that. The only thing out standing is how to change the >> default directory. > > Why on earth would you want to do that? That's nothing but laziness. Let > the user choose where to put the program. > no circumstances (well, VERY few) that it should be forced on the user where he/she can't where the program gets installed. -- Mike Microsoft MVP Visual Basic "MikeD" <nob***@nowhere.edu> wrote in message Yeah, I guess I meant, "Please supply in excruciating detail your rationale news:OFV2alO1FHA.164@TK2MSFTNGP10.phx.gbl... >>> Thanks for that. The only thing out standing is how to change the >>> default directory. >> >> Why on earth would you want to do that? That's nothing but laziness. Let >> the user choose where to put the program. >> > > There's nothing wrong (IMO) with that being the default. I agree that > under no circumstances (well, VERY few) that it should be forced on the > user where he/she can't where the program gets installed. for needing to do such a thing. In triplicate." Generally they can't and the ultimate reason for wanting to is to avoid coding for variability, i.e., laziness.
Show quote
"Jeff Johnson [MVP:VB]" <i.get@enough.spam> wrote in message Good God! Did I really write that mess of a paragraph? Sheesh. I guess I news:eEhs0DP1FHA.1564@tk2msftngp13.phx.gbl... > > "MikeD" <nob***@nowhere.edu> wrote in message > news:OFV2alO1FHA.164@TK2MSFTNGP10.phx.gbl... > >>>> Thanks for that. The only thing out standing is how to change the >>>> default directory. >>> >>> Why on earth would you want to do that? That's nothing but laziness. Let >>> the user choose where to put the program. >>> >> >> There's nothing wrong (IMO) with that being the default. I agree that >> under no circumstances (well, VERY few) that it should be forced on the >> user where he/she can't where the program gets installed. need to proofread better. <g> > You still seem to be assuming that installation is being forced to that > Yeah, I guess I meant, "Please supply in excruciating detail your > rationale for needing to do such a thing. In triplicate." Generally they > can't and the ultimate reason for wanting to is to avoid coding for > variability, i.e., laziness. folder Maybe that is what he's after, but I didn't take it that way. I'm giving him the benefit of the doubt. But I agree that if your forcing a certain installation folder because you've hard-coded the path, that IS just being lazy....and I have no sympathy for any programmer that does this. -- Mike Microsoft MVP Visual Basic
Show quote
"Des" <desotuat***@aol.com> wrote in message By "shrink wrap", I'm guessing that you're talking about packaging your news:1129741444.607672.51680@g14g2000cwa.googlegroups.com... > It is a long time since I did a shrink erap of a an aplication. In VB3 > there was an aditional application that did a very basic shrink wrap. > This produced a source that could be edited. > > I am on VB6 and need to shrink wrap. There is a Publish option from the > tools menu but this takes me to a aform that asks for > VCM > Local Database > > I am lost here. > > Any ideas or do I need to buy install shield which is a bit over the > top for me as I would probably not need it again. There are no > complecated external activeX controlls. application for distribution. I've never heard that process called "shrink wrap", though. As far as I know, shrink wrap is a term that applies to products (be it software or whatever) sold on store shelve. I guess it could be somewhat applicable. VB6 includes a tool called Package and Deployment Wizard (PDW, for short). If you installed PDW when you installed VB6, there should be a shortcut for in your VB Start Menu program group. However, PDW may not be the best tool for you to use as it's quite outdated and can be troublesome under later versions of Windows. Two free tools that you might want to consider are Visual Studio Installer (free from Microsoft) and Inno Setup (a free tool from a 3rd-party). http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/default.aspx http://www.jrsoftware.org/isinfo.php -- Mike Microsoft MVP Visual Basic some applications put there application in there own folder you can
change it if you want. I personaly prefere this instead of only having one folder in windows called program files and 10 million sub folders. "Des" <desotuat***@aol.com> wrote in message But the problem is you weren't clear. Some people who read your post news:1129757437.955063.31080@g49g2000cwa.googlegroups.com... > some applications put there application in there own folder you can > change it if you want. I personaly prefere this instead of only having > one folder in windows called program files and 10 million sub folders. thought you were asking how to force installation to a certain folder and not give the user a choice on where the program should be installed. That's why you're getting flack. -- Mike Microsoft MVP Visual Basic
Other interesting topics
|
|||||||||||||||||||||||