467,886 Members | 1,773 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,886 developers. It's quick & easy.

Deployment Project OCX reg, Temp File, Customized UI Dialog

Folks,

I am developing a deployment project with Visual Studio 2005 that produces
an .msi installer. I am not understanding how to create some customized
install time actions that I want include, and want to know if there is a
better way to achieve some results. The following are the install time tasks
I am attempting to perform.

1. I defined a custom action to register and unregister an ActiveX Custom
Control (.ocx) after installation, using MS provided sample regsvr32.exe.
However during the installation, I included regsrv32.exe in the project for
maximum portability, which as far I can tell already exists on the target
systems. This also results in seeing DOS boxes pop up during installation. Is
there a better way to register the control, e.g. with VB script, C#, etc?

2. I included a temporary file, 'myconfig_.ini', which is consumed by a
target program upon first start up. If the file is included in the installer,
every time the user selects the program from the Start menu, the .msi
installer attempts to recreate the file. AFAIK, there is no property setting
that will mark the file as install time only. As a work around, I created a
gen_config_file.exe, which generates this file.

3. Under 'User Interface' I added a stock Dialog, 'Textboxes (A)', with
properties set to accept a Username and Password combination. The layout is
set, and the text box behavior enabling a 'mask' of the password text is
unavailable. Is there a way to create a custom dialog that has the functions
I require? I recall reading in the MS documentation, layout modifications to
the stock Dialogs is not possible.

Thanks,
BEA
Oct 22 '08 #1
  • viewed: 1377
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Wendy Elizabeth | last post: by
7 posts views Thread by dhussong | last post: by
1 post views Thread by moondaddy | last post: by
2 posts views Thread by Miro | last post: by
3 posts views Thread by =?Utf-8?B?RHVrZSAoQU4yNDcp?= | last post: by
1 post views Thread by =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.