Installing Macros

J

John

Hi

I need to distribute Word macros to my clients. These macros need to be
available regardless of what document the user is in. Is there a way to
create something a set-up or something similar that can be sent to the
clients to run?

Thanks

Regards
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi John,

See the article “Distributing macros to other users” at:

http://www.mvps.org/word/FAQs/MacrosVBA/DistributeMacros.htm

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
C

Cassandra Thompson

I am interested in an answer to this to.
However the article mentioned really applies to someone in an IT department
distributing to a firm.

But what if (and I am guessing the original author was meaning this) the
macro is written to be distributed externally.

ie. I am in the process of writing a macro collection that I would like to
sell. I understand how templates work, and would like to be able to setup an
installation routine that takes my template (containing the macros) and
determines what folder is the word startup folder on the user system, and
then place the template in that folder.
Is this possible?

Thanks,
Cassandra

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
 
J

JGM

Hi Cassandra,

You could probably write a very simple VB app to do that.

In pseudo code:

Open Word (could be invisible)
Locate its Start Up Directory
Place/copy your file(s) in that directory
Close Word
Installation successful!

Alternatively, you could use the Vb Studio Installer Wizard (which I have
never used, for some reason it is missing from my VB Studio package) but I
have heard it was quite easy to use.

Cheers!
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This is not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS command
after self-extraction takes place. It is pretty economical. I don't recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items that way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way. For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation file. Do NOT
choose this option. That would be too easy! Choose the other option instead,
which I think is called regular self extracting file.

You'll also be asked for a folder to unzip to. This is important. You can
leave this item blank but in that case the exe file will extract to your
Windows temp folder and this won't work. So be sure to specify a folder.

When asked what command you want to run, enter ".\Setup.doc"

Since the extractor sets the windows current directory to the destination
folder of the extraction, the result of this command is for Windows to
launch Word (thanks to Windows file association) and pass to it the setup
document.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
J

Jay Freedman

Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

The alternative is equally miserable. You can use a pile of code to
locate the Word Startup folder from VB as shown at
http://support.microsoft.com/?kbid=210860, or translate that into the
language of your choice.

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL
ADDRESS said:
Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This is not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS command
after self-extraction takes place. It is pretty economical. I don't recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items that way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way. For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation file. Do NOT
choose this option. That would be too easy! Choose the other option instead,
which I think is called regular self extracting file.

You'll also be asked for a folder to unzip to. This is important. You can
leave this item blank but in that case the exe file will extract to your
Windows temp folder and this won't work. So be sure to specify a folder.

When asked what command you want to run, enter ".\Setup.doc"

Since the extractor sets the windows current directory to the destination
folder of the extraction, the result of this command is for Windows to
launch Word (thanks to Windows file association) and pass to it the setup
document.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Cassandra Thompson said:
I am interested in an answer to this to.
However the article mentioned really applies to someone in an IT department
distributing to a firm.

But what if (and I am guessing the original author was meaning this) the
macro is written to be distributed externally.

ie. I am in the process of writing a macro collection that I would like to
sell. I understand how templates work, and would like to be able to setup an
installation routine that takes my template (containing the macros) and
determines what folder is the word startup folder on the user system, and
then place the template in that folder.
Is this possible?

Thanks,
Cassandra

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
 
H

^Halibut^

you can use install shield or any installation program and get the
enviormental variable "APPDATA"

Then add \word\startup to the end of the "APPDATA" string and install your
..dot to that path. this will give your user the use of your macros in
anyword doc


^Halibut^


Jay Freedman said:
Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

The alternative is equally miserable. You can use a pile of code to
locate the Word Startup folder from VB as shown at
http://support.microsoft.com/?kbid=210860, or translate that into the
language of your choice.

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL
ADDRESS said:
Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This is not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS command
after self-extraction takes place. It is pretty economical. I don't recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items that way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way. For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation file. Do NOT
choose this option. That would be too easy! Choose the other option instead,
which I think is called regular self extracting file.

You'll also be asked for a folder to unzip to. This is important. You can
leave this item blank but in that case the exe file will extract to your
Windows temp folder and this won't work. So be sure to specify a folder.

When asked what command you want to run, enter ".\Setup.doc"

Since the extractor sets the windows current directory to the destination
folder of the extraction, the result of this command is for Windows to
launch Word (thanks to Windows file association) and pass to it the setup
document.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Cassandra Thompson said:
I am interested in an answer to this to.
However the article mentioned really applies to someone in an IT department
distributing to a firm.

But what if (and I am guessing the original author was meaning this) the
macro is written to be distributed externally.

ie. I am in the process of writing a macro collection that I would like to
sell. I understand how templates work, and would like to be able to
setup
an
installation routine that takes my template (containing the macros) and
determines what folder is the word startup folder on the user system, and
then place the template in that folder.
Is this possible?

Thanks,
Cassandra

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
Hi John,

See the article "Distributing macros to other users" at:

http://www.mvps.org/word/FAQs/MacrosVBA/DistributeMacros.htm

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Hi

I need to distribute Word macros to my clients. These macros need
to
be
available regardless of what document the user is in. Is there a
way
to
create something a set-up or something similar that can be sent to the
clients to run?

Thanks

Regards
 
G

Gil Carter

Hi All, ...
Winzip self extract does provide an initial message box in which the
programmer could advise the user to temporarily lower their Word security
settings through Tool/Macro/Security settings. This is what I've used. :)
Gil

^Halibut^ said:
you can use install shield or any installation program and get the
enviormental variable "APPDATA"

Then add \word\startup to the end of the "APPDATA" string and install your
.dot to that path. this will give your user the use of your macros in
anyword doc


^Halibut^


Jay Freedman said:
Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

The alternative is equally miserable. You can use a pile of code to
locate the Word Startup folder from VB as shown at
http://support.microsoft.com/?kbid=210860, or translate that into the
language of your choice.

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL
ADDRESS said:
Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This is not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS command
after self-extraction takes place. It is pretty economical. I don't recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items that way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way. For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation file.
Do
like
to
 
S

Sonny Maou

Cassandra said:
ie. I am in the process of writing a macro collection that I would like to
sell. I understand how templates work, and would like to be able to setup an
installation routine that takes my template (containing the macros) and
determines what folder is the word startup folder on the user system, and
then place the template in that folder.
Is this possible?

My company does that with our Office-based application products. I check
the registry for the template folder and just use my programming
language to unzip and copy files to the template folder.
 
J

John

Hi

Which registry is that? Presumably it would not matter how high the user's
security is?

Thanks

Regards
 
S

Sonny Maou

John said:
Hi

Which registry is that? Presumably it would not matter how high the user's
security is?


...

Our templates can generally be used by any version of Word since 97, so
I check registry values and see which version they're using, as well as
what their template folder is.

Here's the relevant chunk of code. You should be able to figure out the
registry keys/values...

junk = regGetSubkeys("HKEY_CURRENT_USER\\Software\\Microsoft\\Office")

keys[1]="HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\8.0\\Common\\FileNew\\LocalTemplates"
keys[2]="HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\9.0\\Common\\General"
keys[3]="HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\10.0\\Common\\General"
keys[4]="HKEY_CURRENT_USER\\Software\\Microsoft\\Office\\11.0\\Common\\General"

-- 05.06.2003 - added sequence check
if sequence( junk ) then
if find("8.0",junk) > 0 then
pathis=regQueryValue(keys[1],"","")
end if
if find("9.0",junk) > 0 then
pathis = regQueryValue(keys[2],"UserTemplates","")
end if
if find("10.0",junk) > 0 then
pathis = regQueryValue(keys[3],"UserTemplates","")
end if
if find("11.0",junk) > 0 then
pathis = regQueryValue(keys[4],"UserTemplates","")
end if

if equal(pathis, "") then
pathis =
regQueryValue("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell
Folders","AppData","") & "\\Microsoft\\Templates"
end if

end if
 
C

Cassandra Thompson

Thanks guys, I am not up to it yet, just picking up on the fact that someone
else asked the question, but have bookmarked this post.

Gil Carter said:
Hi All, ...
Winzip self extract does provide an initial message box in which the
programmer could advise the user to temporarily lower their Word security
settings through Tool/Macro/Security settings. This is what I've used. :)
Gil

^Halibut^ said:
you can use install shield or any installation program and get the
enviormental variable "APPDATA"

Then add \word\startup to the end of the "APPDATA" string and install your
.dot to that path. this will give your user the use of your macros in
anyword doc


^Halibut^


Jay Freedman said:
Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

The alternative is equally miserable. You can use a pile of code to
locate the Word Startup folder from VB as shown at
http://support.microsoft.com/?kbid=210860, or translate that into the
language of your choice.

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL

Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This is not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS command
after self-extraction takes place. It is pretty economical. I don't recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items
that
way.
4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way. For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation file.
Do
NOT
choose this option. That would be too easy! Choose the other option instead,
which I think is called regular self extracting file.

You'll also be asked for a folder to unzip to. This is important. You can
leave this item blank but in that case the exe file will extract to your
Windows temp folder and this won't work. So be sure to specify a folder.

When asked what command you want to run, enter ".\Setup.doc"

Since the extractor sets the windows current directory to the destination
folder of the extraction, the result of this command is for Windows to
launch Word (thanks to Windows file association) and pass to it the setup
document.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
I am interested in an answer to this to.
However the article mentioned really applies to someone in an IT
department
distributing to a firm.

But what if (and I am guessing the original author was meaning
this)
the
macro is written to be distributed externally.

ie. I am in the process of writing a macro collection that I would
like
to
sell. I understand how templates work, and would like to be able to setup
an
installation routine that takes my template (containing the macros) and
determines what folder is the word startup folder on the user
system,
and
then place the template in that folder.
Is this possible?

Thanks,
Cassandra

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
Hi John,

See the article "Distributing macros to other users" at:

http://www.mvps.org/word/FAQs/MacrosVBA/DistributeMacros.htm

Please post any further questions or followup to the newsgroups
for
the
benefit of others who may be interested. Unsolicited questions
forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Hi

I need to distribute Word macros to my clients. These macros
need
to
be
available regardless of what document the user is in. Is there
a
way
to
create something a set-up or something similar that can be sent
to
the
clients to run?

Thanks

Regards
 
S

Sonny Maou

I just re-read the OP's original post and realized he probably wants it
in the add-ins folder or somesuch so that all templates have access to
the macros. We actually store our customized templates in the user
templates folder (or workgroup templates folder, as required), so the
registry keys are obviously going to be different...
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

Hi Cassandra,

I am not quite sure what you mean by "bookmarked" While it will be archived
in Google, it will only remain on this server for about 30 days. I would
suggest that you copy what you want to a folder on your machine to
facilitate your finding it again.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Cassandra Thompson said:
Thanks guys, I am not up to it yet, just picking up on the fact that someone
else asked the question, but have bookmarked this post.

Gil Carter said:
Hi All, ...
Winzip self extract does provide an initial message box in which the
programmer could advise the user to temporarily lower their Word security
settings through Tool/Macro/Security settings. This is what I've used. :)
Gil

^Halibut^ said:
you can use install shield or any installation program and get the
enviormental variable "APPDATA"

Then add \word\startup to the end of the "APPDATA" string and install your
.dot to that path. this will give your user the use of your macros in
anyword doc


^Halibut^


Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

The alternative is equally miserable. You can use a pile of code to
locate the Word Startup folder from VB as shown at
http://support.microsoft.com/?kbid=210860, or translate that into the
language of your choice.

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL

Hi Cassandra,

One way you can do this is to purchase WinZip Self Extractor. This
is
not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS
command
after self-extraction takes place. It is pretty economical. I don't
recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) & "\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that
these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two items that
way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the
way.
For
example, it will ask you to choose what type of file you're trying to
create. Ironically, one of the choices is Software Installation
file.
Do
NOT
choose this option. That would be too easy! Choose the other option
instead,
which I think is called regular self extracting file.

You'll also be asked for a folder to unzip to. This is important.
You
can
leave this item blank but in that case the exe file will extract to your
Windows temp folder and this won't work. So be sure to specify a folder.

When asked what command you want to run, enter ".\Setup.doc"

Since the extractor sets the windows current directory to the destination
folder of the extraction, the result of this command is for Windows to
launch Word (thanks to Windows file association) and pass to it the setup
document.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
I am interested in an answer to this to.
However the article mentioned really applies to someone in an IT
department
distributing to a firm.

But what if (and I am guessing the original author was meaning this)
the
macro is written to be distributed externally.

ie. I am in the process of writing a macro collection that I
would
like
to
sell. I understand how templates work, and would like to be able to
setup
an
installation routine that takes my template (containing the
macros)
and
determines what folder is the word startup folder on the user system,
and
then place the template in that folder.
Is this possible?

Thanks,
Cassandra

"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL
ADDRESS"
Hi John,

See the article "Distributing macros to other users" at:

http://www.mvps.org/word/FAQs/MacrosVBA/DistributeMacros.htm

Please post any further questions or followup to the newsgroups for
the
benefit of others who may be interested. Unsolicited questions
forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Hi

I need to distribute Word macros to my clients. These macros need
to
be
available regardless of what document the user is in. Is
there
a sent
to
 
T

Thomas Winter

If you are looking for a nice-professional looking solution for creating a
setup program, check out InnoSetup. It is free and works very well. It will
support installing COM Add-ins and supports installing a file to a the
Common Files folder or a location specified by a registry key, so you can
install your add-in in Word's STARTUP folder. The other posts talked about
how to find the registry key.

Check out:

www.InnoSetup.com

-Tom
 
C

Cassandra Thompson

yes, what I meant by 'bookmarked' was that I would keep a record of it (I am
actually useing a newsreader thta I can tag messages to keep)


"Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS"
Hi Cassandra,

I am not quite sure what you mean by "bookmarked" While it will be archived
in Google, it will only remain on this server for about 30 days. I would
suggest that you copy what you want to a folder on your machine to
facilitate your finding it again.

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Cassandra Thompson said:
Thanks guys, I am not up to it yet, just picking up on the fact that someone
else asked the question, but have bookmarked this post.

used.
:) install
your
This
is
not
the same as
WinZip. It's an add-on package that lets you automatically run a DOS
command
after self-extraction takes place. It is pretty economical. I don't
recall
the exact price.

Basically, here's what to do:

1. Create a document called Setup.doc that contains the following macro

Sub AutoNew()

FileCopy ActiveDocument.Path & "\[TemplateName].dot",
Application.Options.DefaultFilePath(wdStartupPath) &
"\[TemplateName.dot"

End Sub

Save this document and your template into the same folder.

2. In Windows Explorer, select your template plus the document called
Setup.doc and
NOTHING ELSE. (Specifically, make sure to NOT select the folder that
these
two items are in. If you select the folder, this approach won't work.)

3. Right-click one of the selected items and choose Send to Compressed
Folder. Or you could run regular WinZip and compress the two
items
that
way.



4. Start up WinZip self extractor and follow the Wizard prompts.

WinZip self-extractor will ask you a couple of things along the way.
For
example, it will ask you to choose what type of file you're
trying
to Windows
to for
the
able
to newsgroups
for macros
need there
 
J

Jonathan West

Jay Freedman said:
Also be aware that this, or any other method based on VBA, will fail
silently if the user's macro security level is set to High, and will
present the user with a deliberately scary message if the level is set
to Medium.

I get round this by writing the installer in VB5. Word can be controlled
through automation from VB5, sufficiently at least to find the nevessary
folders. I then close Word again and copy the files.

I also use winzip self-extractor if I need a one-file distribution method,
the extractor automatically runs the installer.
 
G

Gil Carter

Thanks for the pointer Thomas. I'll play with it some. I'd like to hook it
up so that InnoSetup starts my install.dot file but uses a document file as
the trigger it places under "programs" and on the desktop.
:)
Gil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top