cancel
Showing results for 
Search instead for 
Did you mean: 
allkor
Pilgrim

AdminStudio Repackage - Registry key

Hello,

I have some trouble to set up an Active Setup on a repackage application (exe to msi) :

I add my keys to the .msi generate after repackaging my .exe, the key are :

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\SMPAS]
"Version"="2,0"
"StubPath"=hex(2):43,00,3a,00,5c,00,54,00,65,00,6d,00,70,00,5c,00,4c,00,61,00,\
6e,00,63,00,65,00,53,00,4d,00,50,00,2e,00,63,00,6d,00,64,00,00,00


I use procmon to see if registration is ok, and ... he create the keys, but delete them ?!?

Can somebody explain me why ?

Thx, Allkor.
0 Kudos
2 Replies
Highlighted
Mistral
Flexera beginner

Re: AdminStudio Repackage - Registry key

Did you add the keys, or capture them?

For your MSI the key should better be converted to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]

The StubPath is a command line that will be executed once for every user on first logon after installation. Just check what is executed there (C:\Temp\LanceSMP.cmd) and decide if you need it.
0 Kudos
allkor
Pilgrim

Re: AdminStudio Repackage - Registry key

Hi,

Thx for ur answer, but it was just a pb of registry, it's on a Seven computer and the key are put on Wow6432node.

So it works.
0 Kudos