Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

How to install programs that require activation?

- - - - -

  • Please log in to reply
16 replies to this topic

#1
snowlife

snowlife
  • Member
  • 1 posts
Is it possible to use WPI to install programs that require activation or serials in order to install the program? If it's not possible to do so in WPI can I do it in Runonce or some other installer program?

I love the functionality of WPI, but I feel limited in that I can only use it for freeware programs and utilities.

Many thanks for any wisdom or knowledge you care to impart.


How to remove advertisement from MSFN

#2
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
You need to research unnatended installs and auto-it.

Please post the names of the programs you want to install and I will try to help you..

#3
scuzzy47

scuzzy47

    Newbie

  • Member
  • 37 posts
As I already said in another post, I use AutoHotKey to do the trick, the program records every mousemovement and every keystroke so you can save it to an exe, when you run that, it will automatically click the buttons you have clicked and thus will AutoInstall your app, then just let WPI run the AutoHotKey script. It won't work with some programs, but it will help you with a lot of them... Hope I've helped, if you're interested in a few scripts, please PM me... Grtz
SCSI (skŭz'ē) : A small computer system interface used for connecting peripheral devices, such as external disk drives...
--------------------

#4
Lost Soul

Lost Soul

    Snap ... Crackle ... Pop

  • Member
  • PipPipPipPipPipPipPip
  • 1,746 posts

Is it possible to use WPI to install programs that require activation or serials in order to install the program? If it's not possible to do so in WPI can I do it in Runonce or some other installer program?

I love the functionality of WPI, but I feel limited in that I can only use it for freeware programs and utilities.

Many thanks for any wisdom or knowledge you care to impart.

<{POST_SNAPBACK}>



your not limited with wpi, your only limited by your own Enthusiasm, wpi can do every app out on the market, it uses the runonceex method, so all your programs will install its just up to you to be Enthusiastic enough to find ways to make the progs unattended, if they cant be done by a switch you can go the harder routes, autoit, custom build the installer, or use a simple basic program that reads your mouse movements,, but i owould only use that method as a last resort because it does lack a few what the other methods have and thats a true unattended method,

but my friend each to their own

best of luck

This is not the end. It is not even the beginning of the end. But, it is, perhaps, the end of the beginning.

- Winston Churchill

#5
g-alex

g-alex

    Newbie

  • Member
  • 34 posts
This vary in each program, Sometimes I installed and activate the application in virtual machine then copy the key from the registry and use it in WPI, other way is to get all files from the folder %allusersprofile%\appdata, or one more way is to install the app, activate it, then take backup of the appdir, %appdata% and all regkeys then make an installer with winrar self-extract.

#6
Krim

Krim

    Newbie

  • Member
  • 26 posts
Sorry to dig up an old thread but i am facing the same issue as the OP.

I have made an unattended installation using msiexec. The application installs successfully but it needs a serial key entered.

Is the best practice to use something like AutoIt to then enter the serial key after the application is installed or is there a way to make the entering of the serial key part of the unattended install.

I havent found anything regarding serial key entering or setting different options for an msi package such as MS access 2002. Is there a way to provide a type of answers file like InstallShield?

At the moment my understanding is that you use a combination of autoit and a /qb switch for the basic interface of the unattended install to choose options.

Can anyone help out with these questions? :)

#7
g-alex

g-alex

    Newbie

  • Member
  • 34 posts
Make a clean installation of the application you want and enter the serial number when it asks for it.
After that check in the registry in the following keys:
HKCU\Software\..Appname...
-or-
HKCM\Software\..Appname...
maybe the serial number stored in these keys
You can backup the whole key for using it in WPI.
Remember that the key maybe encrypted or some applications stores the serial number in the %programdir% or in the %appdata% folders

#8
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
We really can't help at all without the names of apps you are trying to install.

#9
Krim

Krim

    Newbie

  • Member
  • 26 posts

We really can't help at all without the names of apps you are trying to install.

<{POST_SNAPBACK}>


Sorry i didnt know if there was an easy way to do it with .msi installation method.

The programs in question are MS applications, specifically:

MS Access 2002
Visio 2002
Visio 2003
Project 2002
Project 2003

We use a site license for these applications so if the serial key entering part of the install could be included in the unattended installation of the application would save alot of time. Rather than having to open the program after installation and enter the key in.

#10
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,800 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Look here http://www.appdeploy...wse.asp?cat=all

Looks like most of them can be deployed by creating admin installs.

Create a Admin-Setup:

setup.exe /a

Fill out all informations (Company, CD-Key)
After this installation you can use the created folder
for a silent installation:

msiexec.exe /i "drive:\path\visio.msi" /qn

Edited by kelsenellenelvian, 13 September 2005 - 06:53 PM.


#11
Krim

Krim

    Newbie

  • Member
  • 26 posts

Look here http://www.appdeploy...wse.asp?cat=all

Looks like most of them can be deployed by creating admin installs.

Create a Admin-Setup:

setup.exe /a

Fill out all informations (Company, CD-Key)
After this installation you can use the created folder
for a silent installation:

msiexec.exe /i "drive:\path\visio.msi" /qn

<{POST_SNAPBACK}>


Thanks dude i will try it out tonight !

Any help/tips with the other thread ? :)

#12
Krim

Krim

    Newbie

  • Member
  • 26 posts
hello again,

I used the /a switch and was able to create a package that doesnt need a serial key entered.

Now the next question is how to create an unattended package that allows you to have a typical install version so package a1 and then a second package which is not a typical install.

eg. when you create the package it remembers what options you chose to create it and then creates the unattended package.

Hope that makes sense !

#13
g-alex

g-alex

    Newbie

  • Member
  • 34 posts
See this page

http://unattended.ms...ipstreaming.htm

#14
Krim

Krim

    Newbie

  • Member
  • 26 posts
Quick update to this thread -

Search for Office Resource Kit on the microsoft site. You can download the kit which will allow you to create an MST file based on an administrator msi you create. That way you dont have to enter any CD key and then the MST file contains all the options you selected.

Now if only all msi based packages had a resource kit to create an MST file :P

#15
planoleg

planoleg

    Newbie

  • Member
  • 44 posts
I hope I'm not too late for this topic. I used this http://www.appdeploy...tail.asp?id=879 site suggested above for automated entering of serial numbers. The program is Finereader 8 Professional, and the problem is that the program gets installed in German instead of English. I don't understand why it happens, if you think it is possible to make this program be installed in English please suggest how can I achive that. Thanks.

#16
Evolver

Evolver

    Newbie

  • Member
  • 16 posts

I hope I'm not too late for this topic. I used this http://www.appdeploy...tail.asp?id=879 site suggested above for automated entering of serial numbers. The program is Finereader 8 Professional, and the problem is that the program gets installed in German instead of English. I don't understand why it happens, if you think it is possible to make this program be installed in English please suggest how can I achive that. Thanks.

I can't tell you directly how it goes for Finereader.
But I change languages without problems for most applications by registry keys.
Just use regedit to do a 'search' in the registry for the name of the application.
Sometimes, there are settings for the language in there as well...
But not allways...

Sometimes, the setting for the language is done in an .ini file in the directory where the application is installed (%ProgramFiles%\[applicationname]), then you can just get that ini-file and place it back after every new install of that application.
However, sometimes your ini-file needs to be edited first, because they can also hold absolute locations (C:\Program Files\...), with won't work when installing on different partitions, not to mention other configurations that can change (DVD-drive settings,...)

Example:
"Burrrn" uses an ini-file for its configuration.
It's only there after it's first configuration by the way...
That's also why Burrrn will ask for settings the first time it runs.
After that, burrrn.ini will be created in "%ProgramFiles%\Burrrn\" , containing something like this:

[Burrrn]
Language=Dutch
Writer=
Speed=16
Aac=faad.exe -o %d %s
Ape=mac.exe %s %d -d
Flac=flac.exe -d -o %d %s
Mp3=lame.exe --decode %s %d
Mpc=mppdec.exe %s %d
Ofr=ofr.exe --decode %s --output %d
Ogg=oggdec.exe -o %d %s
Shn=shorten.exe -x %s %d
Tta=ttaenc.exe -d %s -o %d
Wv=wvunpack.exe %s %d
Left=192
Top=107
Temp=F:\DOCUME~1\Evolver\LOCALS~1\Temp\
Eject=True
OnTop=False
QuickErase=True
SPTI=True
CloseCD=True
CD-TEXT=True
RAW=False
[Pre-Processing]
ReplayGain=False
ReplayGainType=0
AlbumAdditionalGain=False
AlbumAdditionalGainValue=0.0
AlbumHardLimiter=False
AlbumDither=True
AlbumDitherType=2
TrackAdditionalGain=False
TrackAdditionalGainValue=0.0
TrackHardLimiter=False
TrackDither=True
TrackDitherType=2
[CUEditor]
Visible=False
Left=650
Top=107
Width=460
Height=539
Replace=True
ReplaceFrom=.wav
ReplaceTo=.mpc
CaseSensitive=True
Paths=True

By just copying that to use as replacement the next probems would occur:
- There's an absolute path in there: Temp=F:\DOCUME~1\Evolver\LOCALS~1\Temp\
In this example it was installed on drive F, so it can't be used to install on another drive.
This one wouldn't even work with other users...
- It won't ask for any setting at first start anymore, because it will just use these settings...

So such an ini-file needs to be changed first if you want to use it as a replacement.
I just changed it to this:

[Burrrn]
Language=Dutch

With that one, it's realy that easy.
With this ini, the first time Burrrn opens, it will still ask for settings, but now it's already asking for this in Dutch.

I don't even need auto-it to do things like that... :whistle:

Edited by Evolver, 24 March 2007 - 07:41 AM.


#17
planoleg

planoleg

    Newbie

  • Member
  • 44 posts
This would be too complicated, but thanks anyway. However I actually found a way to make the program be installed in any language. When I got the code from appdeploy, it was as follows: msiexec /i "ABBYY FineReader 8.0 Professional Edition.msi" /qb- TRANSFORMS=1031.mst SN=AAAA-1234-5678-1234-5678
Instead of TRANSFORMS=1031 I tried to put different numbers, and 1033 installed the application in english.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN