473,395 Members | 1,905 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Silent Mode --- VB6 Packaging and Deployment Wizard

I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have already researched this subject in the MSDN for VB6.

Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file:

rem Create silent install package
cd Program Files\Microsoft Visual Studio\vb98\wizards\PDWizard

PDCmdLn.exe "C:\Program Files\Microsoft Visual Studio\VB98\CCardProcLibCOM.vbp" /p "CC Processing Setup - Release 3" /l "C:\Temp\CCardProcLibCOM.log"

cd \

There's no problem with the syntax above. All of the files are where they should be. The packaging script, "CC Processing Setup" - Release 3 is also present and is the one I use for regular (assisted installs). PDCmdLn.exe apparently requires that a packaging script already exist.

When I run this batch file, the following message is logged:


Package and Deployment Wizard - Packaging Report - 21-Aug-06, 03:46 PM
The folder 'C:\Program Files\Microsoft Visual Studio\VB98\CCardProcLibCOMSetup\CCardProcLibCOMSe tup Release 2\CCardProcLibCOMSetup Release 3' contains files or subfolders and therefore cannot be used as the package folder when running in silent mode.


The folders this message refers to are automatically created during the package setup and I have no control over what happens there. I tried to issue the command as follows in the batch file:

PDCmdLn.exe "C:\Program Files\Microsoft Visual Studio\VB98\CCardProcLibCOM.vbp" /p "Standard Setup Package" /l "C:\Temp\CCardProcLibCOM.log"

since the MSDN example specifies "Internet Package" in its example. I thought this referred to the first dialog box (Package Type) in the Package and Deployment Wizard and that specifying the package name as shown above might amount to telling PDCmdLn to create a new package script. Of course, this assumption was wrong as the message in the log then read as follows:


Package and Deployment Wizard - Packaging Report - 21-Aug-06, 03:41 PM
The script 'Standard Setup Package' is not found.


Any ideas how I might be able to get around this? I don't understand how to create the package script in a way to satisfy the constraints posed by PDCmdLn.exe. I'm in the process of resolving an issue with an application that was installed as a client on a large of number of PCs company-wide, and part of that resolution is roll out a modified version of the credit card transaction app to all of the PCs where the current install is present. That rollout will be much harder to do manually, so our network group will attempt to do it using SMS. That approach, however, will be impossible without a silent install package.

Any insights or ideas would, of course, be greatly appreciated.
Aug 21 '06 #1
0 5171

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Peter Schmiedeskamp | last post by:
Hello, I'm writing in regard to the distutils package for python. I regularly repackage installers for silent/automated distribution on numerous Windows PCs throughout an enterprise. Sites such...
by: TThai | last post by:
Hi, I've created an application that uses crystal report in VB dotnet environment. I've created an MSI package to be installed on the client pc to make the crystal report to work. However, the...
by: Nigel Bell | last post by:
Hi all Please excuse me if this seems silly.... I've been using the VB6 Package & Deployment Wizard to create a 'CD' version of an Access application based on FE/BE and a rather large number...
by: Barry Edmund Wright | last post by:
Problem when using Xp Packaging Wizard and the database being able to find the Application Icon after database is deployed. Under Menu/Tools/Startup form I have: Application Icon:...
by: Ima Lostsoul | last post by:
I am having issues with the packaging wizard in Access Developers Edition XP. Here is the deal. The program uses a system file. There are three total databases (front end, common data, and...
by: Paul Aspinall | last post by:
Hi I want to package my C# winforms app, to be deployed with MSDE, as easily as possible for the end user. I want to create an MSI or Installshield (prefer MSI), to setup my C# app, together...
by: rupa | last post by:
Hi, We are using silent or no-tocuh deployment to deploy our application. Can silent deployment be given the capability of using resource files like reports or image files and load them at run time...
by: VJ | last post by:
I have a MSI that installs some Add-ins for office applications. This package was generated by the Add-in project Wizard. How do I include this project as part of the package I build for my...
by: goose28 | last post by:
Instructions for creating a silent install project in Visual Studio.NET 2003 for "All Users". 1) Create a default setup project for your application using Visual Studio (File/New/Setup and...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.