making installer in visual basic 6.0

how to make a installer in vb6

Page 1 of 1

2 Replies - 1212 Views - Last Post: 23 November 2010 - 02:20 PM Rate Topic: -----

#1 lucky2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-November 10

making installer in visual basic 6.0

Posted 23 November 2010 - 04:15 AM

how to make a installer in visual basic 6.0?
Is This A Good Question/Topic? 0
  • +

Replies To: making installer in visual basic 6.0

#2 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 299
  • View blog
  • Posts: 1,768
  • Joined: 26-March 09

Re: making installer in visual basic 6.0

Posted 23 November 2010 - 04:45 AM

Although not the greatest program, try looking into the Package and Deployment system that came with VB6 itself.
Was This Post Helpful? 0
  • +
  • -

#3 vanillaluv  Icon User is offline

  • D.I.C Head

Reputation: -3
  • View blog
  • Posts: 54
  • Joined: 16-November 10

Re: making installer in visual basic 6.0

Posted 23 November 2010 - 02:20 PM

'..or I can just tell you how. ^.^
'Start out a message box asking them for their username.
WSInput=InputBox("Please enter your computer/laptop username:")
'Then, declare a few variables.
Dim Revise, File
Set Revise = "C:\Documents and Settings\" & WSInput & "\Desktop\FILENAME\"
Dim FSO, Folder, Name
Set FSO = CreateObject("Scripting.FileSystemObject")
'Our FSO delcares new objects.
Set Folder = FSO.CreateFile(Revise)
Set Name = "\Welcome.bat"
Set File = FSO.CreateTextFile(Revise & Name)
Dim objTextFile
Set objTextFile = FSO.OpenTextFile _
(Revise & Name, 8, True)
objTextFile.WriteLine("@echo off")
objTextFile.WriteLine("echo Welcome to my product!")
objTextFile.Close

This post has been edited by vanillaluv: 23 November 2010 - 02:23 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1